Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.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.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",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.002237/0.002237, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 89.7 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3045/0.3045, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.698e-05/2.711e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4051, allocations: 58.86 MB / 477.2 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.5772, allocations: 87.72 MB / 0.5517 GB, free: 11.55 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5776, allocations: 67.97 kB / 0.5517 GB, free: 11.49 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06266/0.6402, allocations: 12.84 MB / 0.5643 GB, free: 14.64 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6403, allocations: 0 / 0.5643 GB, free: 14.64 MB / 411.1 MB Notification: Performance of Transformations before backend: time 6.593e-05/0.6404, allocations: 8 kB / 0.5643 GB, free: 14.63 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001824/0.6422, allocations: 0.748 MB / 0.565 GB, free: 13.8 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.6423, allocations: 16.02 kB / 0.565 GB, free: 13.79 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.6426, allocations: 59.3 kB / 0.5651 GB, free: 13.73 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.6441, allocations: 483.3 kB / 0.5655 GB, free: 13.22 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.6442, allocations: 7.984 kB / 0.5655 GB, free: 13.21 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.6443, allocations: 8 kB / 0.5655 GB, free: 13.2 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003512/0.6446, allocations: 108.4 kB / 0.5656 GB, free: 13.1 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005293/0.6452, allocations: 233.2 kB / 0.5659 GB, free: 12.83 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6452, allocations: 0 / 0.5659 GB, free: 12.83 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.6453, allocations: 7.984 kB / 0.5659 GB, free: 12.82 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6453, allocations: 4 kB / 0.5659 GB, free: 12.82 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.6473, allocations: 0.8919 MB / 0.5668 GB, free: 11.88 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.648, allocations: 267 kB / 0.567 GB, free: 11.58 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.6482, allocations: 99.55 kB / 0.5671 GB, free: 11.47 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.6483, allocations: 7.984 kB / 0.5671 GB, free: 11.46 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005159/0.6488, allocations: 214.5 kB / 0.5673 GB, free: 11.23 MB / 411.1 MB Notification: Performance of pre-optimization done (n=24): time 3.236e-06/0.6488, allocations: 0 / 0.5673 GB, free: 11.23 MB / 411.1 MB Notification: Performance of matching and sorting (n=24): time 0.001074/0.6499, allocations: 296.9 kB / 0.5676 GB, free: 10.93 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.6502, allocations: 346.1 kB / 0.5679 GB, free: 10.51 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.6515, allocations: 0.5527 MB / 0.5685 GB, free: 9.953 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.6516, allocations: 33.7 kB / 0.5685 GB, free: 9.914 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.6519, allocations: 247 kB / 0.5687 GB, free: 9.672 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.652, allocations: 51.27 kB / 0.5688 GB, free: 9.621 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.6521, allocations: 3.938 kB / 0.5688 GB, free: 9.617 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6522, allocations: 326.8 kB / 0.5691 GB, free: 9.289 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.6525, allocations: 75.98 kB / 0.5692 GB, free: 9.215 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.6529, allocations: 233.1 kB / 0.5694 GB, free: 8.926 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.6532, allocations: 94.59 kB / 0.5695 GB, free: 8.836 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6532, allocations: 4 kB / 0.5695 GB, free: 8.832 MB / 411.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007501/0.654, allocations: 249.6 kB / 0.5697 GB, free: 8.582 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.654, allocations: 11.95 kB / 0.5697 GB, free: 8.57 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.654, allocations: 0 / 0.5697 GB, free: 8.57 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.6541, allocations: 4 kB / 0.5697 GB, free: 8.566 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.6546, allocations: 51.91 kB / 0.5698 GB, free: 8.516 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6546, allocations: 7.984 kB / 0.5698 GB, free: 8.508 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004873/0.6551, allocations: 31.86 kB / 0.5698 GB, free: 8.477 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.6552, allocations: 16 kB / 0.5698 GB, free: 8.461 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002099/0.6554, allocations: 126.1 kB / 0.57 GB, free: 8.332 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009468/0.6564, allocations: 297.3 kB / 0.5702 GB, free: 8.035 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.6565, allocations: 63.28 kB / 0.5703 GB, free: 7.973 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.6576, allocations: 337.4 kB / 0.5706 GB, free: 7.637 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6577, allocations: 4 kB / 0.5706 GB, free: 7.633 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6577, allocations: 4 kB / 0.5706 GB, free: 7.629 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.6577, allocations: 3.984 kB / 0.5706 GB, free: 7.625 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.6586, allocations: 397.8 kB / 0.571 GB, free: 7.199 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6586, allocations: 0 / 0.571 GB, free: 7.199 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.6589, allocations: 31.97 kB / 0.5711 GB, free: 7.168 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.659, allocations: 15.83 kB / 0.5711 GB, free: 7.152 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.659, allocations: 15.92 kB / 0.5711 GB, free: 7.137 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.659, allocations: 0 / 0.5711 GB, free: 7.137 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.6591, allocations: 8 kB / 0.5711 GB, free: 7.129 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.6601, allocations: 389.8 kB / 0.5715 GB, free: 6.699 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.6604, allocations: 164.4 kB / 0.5716 GB, free: 6.52 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6606, allocations: 4 kB / 0.5716 GB, free: 6.516 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.661, allocations: 15.98 kB / 0.5716 GB, free: 6.5 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.6612, allocations: 43.88 kB / 0.5717 GB, free: 6.457 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.6612, allocations: 12 kB / 0.5717 GB, free: 6.445 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.000995/0.6622, allocations: 442.9 kB / 0.5721 GB, free: 6.012 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.6623, allocations: 0 / 0.5721 GB, free: 6.012 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001043/0.6633, allocations: 111.9 kB / 0.5722 GB, free: 5.902 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002906/0.6663, allocations: 1.433 MB / 0.5736 GB, free: 4.465 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0008953/0.6672, allocations: 243.7 kB / 0.5739 GB, free: 4.227 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6673, allocations: 0 / 0.5739 GB, free: 4.227 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.6676, allocations: 127.8 kB / 0.574 GB, free: 4.102 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.6689, allocations: 134.6 kB / 0.5741 GB, free: 3.973 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.6715, allocations: 0.7655 MB / 0.5749 GB, free: 3.152 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.6722, allocations: 0.8546 MB / 0.5757 GB, free: 2.27 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.6727, allocations: 163.4 kB / 0.5758 GB, free: 2.109 MB / 411.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6727, allocations: 0 / 0.5758 GB, free: 2.109 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.909/3.581, allocations: 9.256 MB / 0.5849 GB, free: 8.855 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat