Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00161/0.00161, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2277/0.2277, allocations: 46.11 MB / 344.2 MB, free: 11.6 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 95.47 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1543, allocations: 62.44 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003468/0.1578, allocations: 1.744 MB / 482 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1596, allocations: 1.021 MB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.1597, allocations: 0 / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1601, allocations: 99.61 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.1605, allocations: 115.6 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1607, allocations: 83.66 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.1609, allocations: 119.7 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1611, allocations: 15.97 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1612, allocations: 63.7 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1613, allocations: 63.75 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1614, allocations: 4 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1615, allocations: 59.98 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.1616, allocations: 31.83 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.1617, allocations: 43.75 kB / 483.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1619, allocations: 131.8 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1619, allocations: 3.938 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1619, allocations: 0 / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1619, allocations: 0 / 483.8 MB, free: 1.539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006143/0.1626, allocations: 442.8 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1626, allocations: 12.03 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.1627, allocations: 42.69 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.1627, allocations: 12.84 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.163, allocations: 221.6 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.163, allocations: 4.375 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.163, allocations: 3.938 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1632, allocations: 61.66 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1632, allocations: 0 / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1632, allocations: 4 kB / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1632, allocations: 0 / 484.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.1633, allocations: 35.91 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.1637, allocations: 300.7 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.164, allocations: 62.55 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.1641, allocations: 20.97 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.1641, allocations: 0 / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1643, allocations: 79.33 kB / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1643, allocations: 0 / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008221/0.1651, allocations: 253.4 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1652, allocations: 55.34 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1654, allocations: 230.2 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1655, allocations: 29.7 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1656, allocations: 112.1 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1657, allocations: 35.55 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1657, allocations: 29.72 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1659, allocations: 326.8 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.166, allocations: 27.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.166, allocations: 48.95 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.1662, allocations: 85.64 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1662, allocations: 0 / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002435/0.1665, allocations: 133.4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1665, allocations: 4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.1665, allocations: 4.234 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1665, allocations: 0 / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.1666, allocations: 23.92 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1666, allocations: 3.984 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1667, allocations: 12.03 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.1667, allocations: 4 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.1668, allocations: 136.2 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1669, allocations: 19.75 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.1669, allocations: 21.39 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1669, allocations: 3.938 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.167, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.167, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.1675, allocations: 463.9 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1675, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.1676, allocations: 15.98 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1676, allocations: 7.984 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1676, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1676, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1676, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.1679, allocations: 237.2 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.168, allocations: 92.91 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.168, allocations: 4 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1681, allocations: 8 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.1682, allocations: 7.984 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1682, allocations: 12 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1683, allocations: 176.4 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1684, allocations: 0 / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1686, allocations: 28 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00233/0.171, allocations: 1.16 MB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1712, allocations: 83.91 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1712, allocations: 3.938 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.1713, allocations: 39.92 kB / 489 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1717, allocations: 33.59 kB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.1739, allocations: 1.833 MB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1743, allocations: 0.7232 MB / 491.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.1744, allocations: 20.64 kB / 491.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.1745, allocations: 47.62 kB / 491.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1745, allocations: 4 kB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.204, allocations: 3.87 MB / 495.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.379, allocations: 19.97 kB / 495.5 MB, free: 5.594 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)