Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_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.0009488/0.000949, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4065/0.4065, allocations: 43.54 MB / 314.5 MB, free: 8.719 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.0005559, allocations: 15.98 kB / 384 MB, free: 7.957 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1448, allocations: 58.86 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00276/0.1477, allocations: 1.87 MB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1499, allocations: 1.288 MB / 446 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1501, allocations: 3.938 kB / 446 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.1505, allocations: 111.6 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.151, allocations: 191.4 kB / 446.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.1524, allocations: 0.5263 MB / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.1529, allocations: 319.3 kB / 447.1 MB, free: 8.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1531, allocations: 81.12 kB / 447.2 MB, free: 8.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.1534, allocations: 187.2 kB / 447.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1536, allocations: 171.2 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.1537, allocations: 8 kB / 447.6 MB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.1539, allocations: 103.9 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1541, allocations: 107.6 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1542, allocations: 101.4 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.1547, allocations: 427.2 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1547, allocations: 8 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1547, allocations: 0 / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1547, allocations: 0 / 448.3 MB, free: 7.492 MB / 382.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.001402/0.1562, allocations: 0.7932 MB / 449.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1562, allocations: 8.031 kB / 449.1 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.069e-05/0.1563, allocations: 50.48 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1564, allocations: 59.33 kB / 449.2 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.1571, allocations: 439.4 kB / 449.6 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1572, allocations: 16.22 kB / 449.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.1572, allocations: 12 kB / 449.7 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1577, allocations: 257.4 kB / 449.9 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1577, allocations: 3.953 kB / 449.9 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1578, allocations: 8 kB / 449.9 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1578, allocations: 4 kB / 449.9 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.1581, allocations: 107.9 kB / 450 MB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1593, allocations: 0.8795 MB / 450.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.16, allocations: 302.8 kB / 451.2 MB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.16, allocations: 8 kB / 451.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004661/0.1605, allocations: 218.7 kB / 451.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.654e-06/0.1605, allocations: 0 / 451.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009641/0.1615, allocations: 401 kB / 451.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.1617, allocations: 342.1 kB / 452.2 MB, free: 3.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/0.1625, allocations: 0.6315 MB / 452.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.1626, allocations: 33.7 kB / 452.8 MB, free: 2.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.1628, allocations: 224.7 kB / 453.1 MB, free: 2.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/0.1629, allocations: 63.19 kB / 453.1 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.1629, allocations: 12 kB / 453.1 MB, free: 2.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1631, allocations: 366.7 kB / 453.5 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.1633, allocations: 79.94 kB / 453.6 MB, free: 1.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.1636, allocations: 245 kB / 453.8 MB, free: 1.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1639, allocations: 99.91 kB / 453.9 MB, free: 1.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1639, allocations: 4 kB / 453.9 MB, free: 1.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006279/0.1645, allocations: 313.6 kB / 454.2 MB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1646, allocations: 4 kB / 454.2 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.1646, allocations: 4.188 kB / 454.2 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.1646, allocations: 8.125 kB / 454.2 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.1649, allocations: 55.91 kB / 454.3 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1649, allocations: 4 kB / 454.3 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.1651, allocations: 35.67 kB / 454.3 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1651, allocations: 16 kB / 454.3 MB, free: 0.9922 MB / 382.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.0002628/0.1654, allocations: 217.7 kB / 454.5 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.1655, allocations: 51.44 kB / 454.6 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.1656, allocations: 55.91 kB / 454.7 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.1656, allocations: 4 kB / 454.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1656, allocations: 0 / 454.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1656, allocations: 7.984 kB / 454.7 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1661, allocations: 413.1 kB / 455.1 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1661, allocations: 0 / 455.1 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.1662, allocations: 27.92 kB / 455.1 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1662, allocations: 0 / 455.1 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1663, allocations: 11.98 kB / 455.1 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1663, allocations: 4 kB / 455.1 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1663, allocations: 0 / 455.1 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2751/0.4413, allocations: 391 kB / 455.5 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.4415, allocations: 144.2 kB / 455.6 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.4416, allocations: 11.47 kB / 455.6 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.4418, allocations: 21.19 kB / 455.7 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4419, allocations: 44.47 kB / 455.7 MB, free: 46.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.442, allocations: 15.25 kB / 455.7 MB, free: 46.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005507/0.4425, allocations: 463.4 kB / 456.2 MB, free: 46.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4425, allocations: 0.6875 kB / 456.2 MB, free: 46.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.443, allocations: 95.75 kB / 456.3 MB, free: 46.11 MB / 382.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.001775/0.4448, allocations: 1.499 MB / 457.8 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.4454, allocations: 222.6 kB / 458 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4454, allocations: 5.312 kB / 458 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.4457, allocations: 169.5 kB / 458.2 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005791/0.4463, allocations: 123.8 kB / 458.3 MB, free: 45.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.4502, allocations: 3.69 MB / 462 MB, free: 43.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4505, allocations: 0.8554 MB / 462.8 MB, free: 42.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.4507, allocations: 91.78 kB / 462.9 MB, free: 42.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.451, allocations: 160.5 kB / 463.1 MB, free: 42.51 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.451, allocations: 3 kB / 463.1 MB, free: 42.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07905/0.53, allocations: 11.31 MB / 474.4 MB, free: 41.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.5303, allocations: 213.2 kB / 474.6 MB, free: 41.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.824, allocations: 7.766 kB / 474.6 MB, free: 41.16 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat