Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous",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.001146/0.001146, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009371/0.0009372, allocations: 82.61 kB / 261.7 MB, free: 1.684 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.2459/0.2459, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.784e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.5069, allocations: 94.94 MB / 0.5587 GB, free: 320 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.5072, allocations: 67.94 kB / 0.5588 GB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04295/0.5502, allocations: 14.6 MB / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5502, allocations: 0 / 0.5731 GB, free: 4.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.257e-05/0.5503, allocations: 23.94 kB / 0.5731 GB, free: 4.105 MB / 378.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.001804/0.5521, allocations: 0.9613 MB / 0.574 GB, free: 3.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5522, allocations: 12.03 kB / 0.574 GB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.5524, allocations: 90.92 kB / 0.5741 GB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.5533, allocations: 0.5627 MB / 0.5747 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.5534, allocations: 12 kB / 0.5747 GB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.5535, allocations: 35.88 kB / 0.5747 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005975/0.5541, allocations: 337.2 kB / 0.575 GB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.5548, allocations: 499.3 kB / 0.5755 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.5548, allocations: 3.938 kB / 0.5755 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.5549, allocations: 0 / 0.5755 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.5549, allocations: 15.95 kB / 0.5755 GB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/0.5586, allocations: 2.619 MB / 0.5781 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.5594, allocations: 460.5 kB / 0.5785 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.5596, allocations: 181.7 kB / 0.5787 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.5597, allocations: 4 kB / 0.5787 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5597, allocations: 45.78 kB / 0.5787 GB, free: 14.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.5597, allocations: 0 / 0.5787 GB, free: 14.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001311/0.561, allocations: 0.7736 MB / 0.5795 GB, free: 14.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.5611, allocations: 136.5 kB / 0.5796 GB, free: 14.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.5617, allocations: 0.4888 MB / 0.5801 GB, free: 13.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.5618, allocations: 33.8 kB / 0.5801 GB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.562, allocations: 360.8 kB / 0.5805 GB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.5621, allocations: 162.9 kB / 0.5806 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.5622, allocations: 0 / 0.5806 GB, free: 13.31 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5623, allocations: 388.8 kB / 0.581 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.5626, allocations: 186.9 kB / 0.5812 GB, free: 12.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.563, allocations: 351.8 kB / 0.5815 GB, free: 12.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.5634, allocations: 239.7 kB / 0.5817 GB, free: 12.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5634, allocations: 4 kB / 0.5818 GB, free: 12.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009908/0.5644, allocations: 0.6156 MB / 0.5824 GB, free: 11.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000731/0.5651, allocations: 1.747 MB / 0.5841 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5652, allocations: 4 kB / 0.5841 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.5652, allocations: 8 kB / 0.5841 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.5659, allocations: 163.6 kB / 0.5842 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.566, allocations: 11.94 kB / 0.5842 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.5666, allocations: 79.53 kB / 0.5843 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.5666, allocations: 35.17 kB / 0.5843 GB, free: 9.734 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.5666, allocations: 4 kB / 0.5844 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008097/0.5674, allocations: 0.4955 MB / 0.5848 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5675, allocations: 11.97 kB / 0.5848 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5675, allocations: 12 kB / 0.5849 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.5681, allocations: 154.7 kB / 0.585 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.5681, allocations: 15.94 kB / 0.585 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/0.5687, allocations: 75.62 kB / 0.5851 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.5687, allocations: 27.75 kB / 0.5851 GB, free: 9.086 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001497/0.5689, allocations: 124.2 kB / 0.5852 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007379/0.5696, allocations: 441.8 kB / 0.5857 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5698, allocations: 75.06 kB / 0.5857 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.57, allocations: 86.03 kB / 0.5858 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.57, allocations: 8 kB / 0.5858 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5701, allocations: 0 / 0.5858 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.5701, allocations: 0 / 0.5858 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5712, allocations: 0.7474 MB / 0.5865 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5712, allocations: 0 / 0.5865 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006948/0.5719, allocations: 115.2 kB / 0.5867 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.572, allocations: 7.953 kB / 0.5867 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.572, allocations: 15.3 kB / 0.5867 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.449e-05/0.572, allocations: 4 kB / 0.5867 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5721, allocations: 0 / 0.5867 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5732, allocations: 0.9667 MB / 0.5876 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.5735, allocations: 195.7 kB / 0.5878 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.5736, allocations: 7.125 kB / 0.5878 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.5741, allocations: 55.94 kB / 0.5879 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5742, allocations: 41.31 kB / 0.5879 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.5743, allocations: 14.92 kB / 0.5879 GB, free: 6.648 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.5748, allocations: 381.1 kB / 0.5883 GB, free: 6.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5748, allocations: 3.938 kB / 0.5883 GB, free: 6.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009007/0.5757, allocations: 168 kB / 0.5885 GB, free: 6.203 MB / 394.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 () * 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.001575/0.5773, allocations: 1.654 MB / 0.5901 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.5786, allocations: 0.7674 MB / 0.5908 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5786, allocations: 0.875 kB / 0.5908 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.5789, allocations: 209 kB / 0.591 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.58, allocations: 162.8 kB / 0.5912 GB, free: 3.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.5827, allocations: 1.337 MB / 0.5925 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.5832, allocations: 0.9692 MB / 0.5934 GB, free: 1.652 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007512/0.584, allocations: 199 kB / 0.5936 GB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.5843, allocations: 255.1 kB / 0.5939 GB, free: 1.395 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5843, allocations: 0 / 0.5939 GB, free: 1.395 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.6232, allocations: 13.49 MB / 0.607 GB, free: 3.926 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.6235, allocations: 121.9 kB / 0.6072 GB, free: 3.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.123, allocations: 0 / 0.6072 GB, free: 3.73 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat