Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.267/0.267, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002308/0.002308, allocations: 94.86 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1522, allocations: 62.44 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003457/0.1557, allocations: 1.743 MB / 482 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.1582, allocations: 1.62 MB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.1582, allocations: 0 / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1586, allocations: 43.77 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.1589, allocations: 103.5 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.1591, allocations: 79.67 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1593, allocations: 103.7 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1594, allocations: 8 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1595, allocations: 47.78 kB / 484 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1597, allocations: 51.7 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1597, allocations: 4 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1599, allocations: 103.9 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.16, allocations: 19.86 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.16, allocations: 47.72 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.1603, allocations: 163.8 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1603, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1603, allocations: 0 / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1603, allocations: 0 / 484.3 MB, free: 0.9727 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005897/0.1609, allocations: 423 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.161, allocations: 12.03 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.161, allocations: 34.75 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1611, allocations: 8.844 kB / 484.8 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1614, allocations: 223.3 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1614, allocations: 4 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1614, allocations: 4 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1616, allocations: 67.39 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1616, allocations: 0 / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1616, allocations: 0 / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1616, allocations: 4 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.1617, allocations: 23.92 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1621, allocations: 288.9 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1623, allocations: 54.67 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.1624, allocations: 20.84 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1624, allocations: 4 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.1626, allocations: 75.33 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1626, allocations: 0 / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.1632, allocations: 177.1 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.1632, allocations: 81.05 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1634, allocations: 158.5 kB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1635, allocations: 37.7 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.1636, allocations: 92.14 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.1636, allocations: 27.64 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1636, allocations: 21.72 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1638, allocations: 322.8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-05/0.1639, allocations: 19.98 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.164, allocations: 38.56 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1641, allocations: 73.61 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1641, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.1643, allocations: 97.58 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1643, allocations: 8.188 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1643, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1644, allocations: 7.922 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.1644, allocations: 23.86 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1645, allocations: 4 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1645, allocations: 4.031 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1645, allocations: 4 kB / 486.7 MB, free: 14.32 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 (10): * Single equations (assignments): 10 * 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.0001071/0.1646, allocations: 121.8 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1647, allocations: 15.81 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.1647, allocations: 12.72 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1647, allocations: 3.938 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1648, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1648, allocations: 3.984 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1652, allocations: 399.3 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1653, allocations: 3.938 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.1653, allocations: 8 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1653, allocations: 3.938 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1653, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1653, allocations: 4 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1653, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1656, allocations: 204.5 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.1657, allocations: 88.94 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.1657, allocations: 8.375 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1658, allocations: 0 / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1658, allocations: 7.984 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1658, allocations: 8 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.166, allocations: 126.3 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.166, allocations: 4 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.1663, allocations: 51.98 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002327/0.1686, allocations: 1.183 MB / 489 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.1688, allocations: 63.91 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1688, allocations: 0 / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.1689, allocations: 27.92 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1693, allocations: 30.05 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1711, allocations: 1.581 MB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.1715, allocations: 0.7012 MB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.839e-05/0.1716, allocations: 21.19 kB / 491.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.1716, allocations: 35.41 kB / 491.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1716, allocations: 0 / 491.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.202, allocations: 3.956 MB / 495.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/8.545, allocations: 10.84 kB / 495.4 MB, free: 5.695 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)