Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009958/0.0009957, allocations: 98.98 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 45.91 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002688, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1458, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003781/0.1497, allocations: 1.944 MB / 483.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.1538, allocations: 1.631 MB / 485.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.1541, allocations: 3.938 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005639/0.1547, allocations: 127.5 kB / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.1555, allocations: 219.1 kB / 485.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.1576, allocations: 0.5669 MB / 486.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008939/0.1585, allocations: 494.5 kB / 486.6 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.1588, allocations: 61.25 kB / 486.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.1591, allocations: 199 kB / 486.9 MB, free: 12 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1595, allocations: 191.1 kB / 487 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.1596, allocations: 8 kB / 487.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.16, allocations: 127.8 kB / 487.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1602, allocations: 119.5 kB / 487.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1604, allocations: 97.45 kB / 487.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.161, allocations: 443.3 kB / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.1611, allocations: 0 / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1611, allocations: 3.938 kB / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1611, allocations: 0 / 487.8 MB, free: 15.04 MB / 366.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.001689/0.1628, allocations: 0.8387 MB / 488.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.1629, allocations: 8.031 kB / 488.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.348e-05/0.163, allocations: 42.55 kB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.1631, allocations: 55.34 kB / 488.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.1641, allocations: 463.1 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1641, allocations: 12.23 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.1642, allocations: 15.94 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.1649, allocations: 264.9 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1649, allocations: 0 / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.1649, allocations: 8 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.165, allocations: 7.938 kB / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.1654, allocations: 111.9 kB / 489.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.1671, allocations: 0.8875 MB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.1681, allocations: 294.5 kB / 490.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.1684, allocations: 99.39 kB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.1684, allocations: 4 kB / 490.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/0.1691, allocations: 226.3 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 3.336e-06/0.1691, allocations: 0 / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001486/0.1706, allocations: 408.9 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002408/0.1709, allocations: 350.1 kB / 491.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.1722, allocations: 0.6629 MB / 492.5 MB, free: 9.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.1722, allocations: 33.7 kB / 492.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.1725, allocations: 232.6 kB / 492.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.414e-05/0.1726, allocations: 67.17 kB / 492.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.1726, allocations: 4 kB / 492.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.1729, allocations: 374.8 kB / 493.2 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.1732, allocations: 83.89 kB / 493.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.1738, allocations: 245.6 kB / 493.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.1742, allocations: 108 kB / 493.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.1742, allocations: 0 / 493.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001021/0.1753, allocations: 313.6 kB / 494 MB, free: 8.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.1753, allocations: 10.5 kB / 494 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1753, allocations: 192 / 494 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.1754, allocations: 4 kB / 494 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.1758, allocations: 72.02 kB / 494 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1758, allocations: 0 / 494 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.1762, allocations: 31.83 kB / 494.1 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1763, allocations: 8 kB / 494.1 MB, free: 8.293 MB / 366.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.0004429/0.1767, allocations: 225.7 kB / 494.3 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.1769, allocations: 63.2 kB / 494.4 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.177, allocations: 56.25 kB / 494.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.1771, allocations: 0 / 494.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1771, allocations: 8 kB / 494.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1771, allocations: 0 / 494.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.1778, allocations: 421.2 kB / 494.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1778, allocations: 0 / 494.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.178, allocations: 23.98 kB / 494.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.178, allocations: 11.89 kB / 494.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.1781, allocations: 11.98 kB / 494.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1781, allocations: 0 / 494.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.1781, allocations: 4 kB / 494.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1792, allocations: 362.7 kB / 495.2 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.1794, allocations: 144.4 kB / 495.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1795, allocations: 23.94 kB / 495.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.1797, allocations: 11.98 kB / 495.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.1799, allocations: 47.89 kB / 495.5 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.18, allocations: 11.98 kB / 495.5 MB, free: 6.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008447/0.1808, allocations: 498.7 kB / 496 MB, free: 6.305 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1808, allocations: 0 / 496 MB, free: 6.305 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007539/0.1816, allocations: 95.94 kB / 496.1 MB, free: 6.211 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.002919/0.1845, allocations: 1.239 MB / 497.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.1854, allocations: 227.9 kB / 497.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1854, allocations: 0 / 497.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.1859, allocations: 171.8 kB / 497.7 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1869, allocations: 127.1 kB / 497.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/0.1945, allocations: 2.845 MB / 0.4889 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.1952, allocations: 0.8509 MB / 0.4898 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005114/0.1957, allocations: 91.22 kB / 0.4898 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.1962, allocations: 171.4 kB / 0.49 GB, free: 496 kB / 366.1 MB Notification: Performance of SimCode: time 1.844e-06/0.1962, allocations: 0 / 0.49 GB, free: 496 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.2337, allocations: 11.66 MB / 0.5014 GB, free: 4.961 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004417/0.2342, allocations: 224.1 kB / 0.5016 GB, free: 4.711 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.401, allocations: 0 / 0.5016 GB, free: 4.711 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat