Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002363/0.002363, allocations: 180.9 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.315/2.315, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 85.38 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5623/0.5623, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007198/0.0007199, allocations: 12 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1602, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/0.6864, allocations: 95.96 MB / 0.5725 GB, free: 6.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.6868, allocations: 63.97 kB / 0.5726 GB, free: 6.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1362/0.8231, allocations: 20.2 MB / 0.5923 GB, free: 2.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.8231, allocations: 4 kB / 0.5923 GB, free: 2.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00011/0.8233, allocations: 16.22 kB / 0.5923 GB, free: 2.137 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.004027/0.8273, allocations: 1.098 MB / 0.5934 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.8274, allocations: 12.03 kB / 0.5934 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002553/0.8276, allocations: 90.52 kB / 0.5935 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.8279, allocations: 86.97 kB / 0.5936 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.8299, allocations: 0.5859 MB / 0.5941 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.83, allocations: 44.94 kB / 0.5942 GB, free: 124 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.8301, allocations: 60.94 kB / 0.5942 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.8321, allocations: 0.6252 MB / 0.5949 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.8322, allocations: 3.938 kB / 0.5949 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.8323, allocations: 23.95 kB / 0.5949 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.8323, allocations: 8 kB / 0.5949 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.8345, allocations: 0.5017 MB / 0.5954 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006912/0.8415, allocations: 2.653 MB / 0.598 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.8439, allocations: 0.5859 MB / 0.5985 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.844, allocations: 12.05 kB / 0.5986 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.8441, allocations: 46.55 kB / 0.5986 GB, free: 11.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 3.537e-06/0.8441, allocations: 0 / 0.5986 GB, free: 11.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.004855/0.849, allocations: 1.206 MB / 0.5998 GB, free: 10.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.8491, allocations: 136.5 kB / 0.5999 GB, free: 10.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.8506, allocations: 0.5817 MB / 0.6005 GB, free: 9.445 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.8508, allocations: 37.7 kB / 0.6005 GB, free: 9.402 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.8512, allocations: 370.5 kB / 0.6009 GB, free: 9.035 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.8515, allocations: 165.6 kB / 0.601 GB, free: 8.871 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.8516, allocations: 12 kB / 0.601 GB, free: 8.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.8518, allocations: 334.8 kB / 0.6014 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.8531, allocations: 281.1 kB / 0.6016 GB, free: 8.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.8545, allocations: 441.2 kB / 0.602 GB, free: 7.746 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.8559, allocations: 321.2 kB / 0.6024 GB, free: 7.434 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.8559, allocations: 0 / 0.6024 GB, free: 7.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003145/0.8591, allocations: 0.8206 MB / 0.6032 GB, free: 6.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009207/0.86, allocations: 1.742 MB / 0.6049 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.8601, allocations: 4 kB / 0.6049 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.8605, allocations: 56.81 kB / 0.6049 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.8625, allocations: 207.7 kB / 0.6051 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.8647, allocations: 1.518 MB / 0.6066 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.866, allocations: 99.75 kB / 0.6067 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8662, allocations: 24 kB / 0.6067 GB, free: 2.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8662, allocations: 4 kB / 0.6067 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00291/0.8691, allocations: 0.744 MB / 0.6074 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.8692, allocations: 4 kB / 0.6074 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.8695, allocations: 56.81 kB / 0.6075 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/0.8713, allocations: 203.8 kB / 0.6077 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.8714, allocations: 11.98 kB / 0.6077 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/0.8723, allocations: 63.66 kB / 0.6078 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.8724, allocations: 32 kB / 0.6078 GB, free: 1.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006677/0.873, allocations: 296.9 kB / 0.6081 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.8734, allocations: 75.06 kB / 0.6082 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.8737, allocations: 82.3 kB / 0.6082 GB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.8737, allocations: 4 kB / 0.6082 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.8737, allocations: 4 kB / 0.6082 GB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8737, allocations: 7.922 kB / 0.6082 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.876, allocations: 0.8414 MB / 0.6091 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.8761, allocations: 0 / 0.6091 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.8775, allocations: 123.9 kB / 0.6092 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.8776, allocations: 0 / 0.6092 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.8777, allocations: 15.98 kB / 0.6092 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.8777, allocations: 0 / 0.6092 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.8777, allocations: 7.938 kB / 0.6092 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/0.8819, allocations: 1.239 MB / 0.6104 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005738/0.8826, allocations: 192.2 kB / 0.6106 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.8827, allocations: 15.98 kB / 0.6106 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.8839, allocations: 67.89 kB / 0.6107 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.8842, allocations: 39.94 kB / 0.6107 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.8842, allocations: 8 kB / 0.6107 GB, free: 14.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001225/0.8855, allocations: 471 kB / 0.6112 GB, free: 14 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8855, allocations: 0 / 0.6112 GB, free: 14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001384/0.8869, allocations: 204 kB / 0.6114 GB, free: 13.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006654/0.8936, allocations: 1.932 MB / 0.6133 GB, free: 11.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006698/0.9003, allocations: 1.236 MB / 0.6145 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/0.9004, allocations: 4 kB / 0.6145 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/0.9024, allocations: 301.3 kB / 0.6148 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.9049, allocations: 172.8 kB / 0.6149 GB, free: 10.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/0.9295, allocations: 7.826 MB / 0.6226 GB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.9307, allocations: 0.9653 MB / 0.6235 GB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.9319, allocations: 263.3 kB / 0.6238 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/0.9319, allocations: 0 / 0.6238 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.149/4.081, allocations: 12.92 MB / 0.6364 GB, free: 3.926 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat