Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009445, allocations: 97.28 kB / 16.98 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 182.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2987/0.2987, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.146, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004227/0.1503, allocations: 1.865 MB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.1548, allocations: 1.369 MB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.1551, allocations: 4 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006796/0.1558, allocations: 123.5 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.1565, allocations: 179.5 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.1593, allocations: 0.575 MB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007894/0.1601, allocations: 319.3 kB / 476 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.1604, allocations: 57.25 kB / 476 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.1608, allocations: 191.2 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.1611, allocations: 167.3 kB / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.1612, allocations: 12 kB / 476.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.1616, allocations: 111.8 kB / 476.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.1619, allocations: 111.6 kB / 476.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.162, allocations: 93.45 kB / 476.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.1625, allocations: 431.3 kB / 477.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1625, allocations: 0 / 477.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1625, allocations: 0 / 477.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1626, allocations: 0 / 477.1 MB, free: 8.055 MB / 350.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.001302/0.1639, allocations: 0.8086 MB / 477.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1639, allocations: 12.03 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.164, allocations: 46.55 kB / 478 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1641, allocations: 51.34 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.1649, allocations: 451.3 kB / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.1649, allocations: 16.19 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1649, allocations: 12 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.1654, allocations: 253.4 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1654, allocations: 4 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.1655, allocations: 11.92 kB / 478.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1655, allocations: 8 kB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.1658, allocations: 99.94 kB / 478.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.167, allocations: 0.8835 MB / 479.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.1676, allocations: 298.8 kB / 480 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1677, allocations: 4 kB / 480 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/0.1681, allocations: 214.8 kB / 480.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1681, allocations: 0 / 480.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009281/0.1691, allocations: 392.8 kB / 480.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.1692, allocations: 346.1 kB / 481 MB, free: 3.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.1701, allocations: 0.6393 MB / 481.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.1701, allocations: 33.7 kB / 481.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1703, allocations: 224.5 kB / 481.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.1704, allocations: 67.27 kB / 481.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.1704, allocations: 4 kB / 481.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1706, allocations: 370.7 kB / 482.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.1708, allocations: 79.95 kB / 482.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.1712, allocations: 245.6 kB / 482.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1714, allocations: 108.9 kB / 482.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1715, allocations: 0 / 482.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006229/0.1721, allocations: 312.8 kB / 483 MB, free: 1.668 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1721, allocations: 8 kB / 483 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.1721, allocations: 0 / 483 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1721, allocations: 4 kB / 483 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1724, allocations: 59.91 kB / 483.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1724, allocations: 7.938 kB / 483.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.1726, allocations: 27.84 kB / 483.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1727, allocations: 24.05 kB / 483.1 MB, free: 1.539 MB / 350.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 () * Number of clocked 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.0002427/0.1729, allocations: 210 kB / 483.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.173, allocations: 59.33 kB / 483.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.694e-05/0.1731, allocations: 63.83 kB / 483.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1731, allocations: 8 kB / 483.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1732, allocations: 0 / 483.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.1732, allocations: 3.953 kB / 483.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1736, allocations: 409.2 kB / 483.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1736, allocations: 0 / 483.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.1737, allocations: 27.98 kB / 483.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1738, allocations: 4 kB / 483.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1738, allocations: 11.98 kB / 483.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1738, allocations: 0 / 483.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.1738, allocations: 4 kB / 483.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.1744, allocations: 394.2 kB / 484.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.1746, allocations: 148.3 kB / 484.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.1747, allocations: 8 kB / 484.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1748, allocations: 19.98 kB / 484.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/0.1749, allocations: 39.95 kB / 484.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.175, allocations: 19.92 kB / 484.5 MB, free: 16 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005197/0.1755, allocations: 462.9 kB / 485 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1755, allocations: 0 / 485 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1759, allocations: 91.98 kB / 485.1 MB, free: 15.47 MB / 366.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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.001986/0.1779, allocations: 1.491 MB / 486.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005451/0.1785, allocations: 228 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1785, allocations: 0 / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.1788, allocations: 168.3 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/0.1795, allocations: 129.8 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.1846, allocations: 3.694 MB / 490.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.1851, allocations: 0.8508 MB / 491.6 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.1854, allocations: 91.33 kB / 491.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.1856, allocations: 163.4 kB / 491.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1856, allocations: 0 / 491.9 MB, free: 8.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.2109, allocations: 11.32 MB / 0.4914 GB, free: 13.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.2112, allocations: 205.6 kB / 0.4916 GB, free: 13.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.258, allocations: 64 / 0.4916 GB, free: 13.27 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat