Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001087/0.001087, allocations: 96.98 kB / 15.69 MB, free: 488 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.0009751/0.0009751, allocations: 174.4 kB / 16.56 MB, free: 6.379 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.967/1.967, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.4549/0.4549, allocations: 43.55 MB / 314.5 MB, free: 8.758 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.0005711/0.0005713, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1547, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002128/0.1568, allocations: 1.395 MB / 444.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1587, allocations: 1.297 MB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.1588, allocations: 0 / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1591, allocations: 35.83 kB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1593, allocations: 51.81 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.1596, allocations: 79.78 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1598, allocations: 63.86 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1599, allocations: 12.2 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.1599, allocations: 35.86 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1601, allocations: 35.83 kB / 445.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1601, allocations: 0 / 445.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1603, allocations: 47.91 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.1603, allocations: 19.86 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.1604, allocations: 37.7 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.1605, allocations: 96.08 kB / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.1605, allocations: 0 / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1606, allocations: 0 / 446 MB, free: 9.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1606, allocations: 0 / 446 MB, free: 9.742 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005825/0.1612, allocations: 402.8 kB / 446.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1612, allocations: 12.03 kB / 446.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.1613, allocations: 34.56 kB / 446.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1613, allocations: 11.91 kB / 446.5 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1616, allocations: 203.5 kB / 446.7 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1616, allocations: 4 kB / 446.7 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1616, allocations: 7.969 kB / 446.7 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1618, allocations: 79.33 kB / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1619, allocations: 0 / 446.8 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1619, allocations: 3.953 kB / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1619, allocations: 0 / 446.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.538e-05/0.162, allocations: 35.97 kB / 446.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.1624, allocations: 292.7 kB / 447.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1626, allocations: 66.62 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1626, allocations: 7.984 kB / 447.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.1628, allocations: 79.55 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1629, allocations: 0 / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005817/0.1634, allocations: 193.3 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1635, allocations: 77.11 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1637, allocations: 162.9 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1637, allocations: 25.7 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.1638, allocations: 100.1 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1638, allocations: 27.59 kB / 447.8 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.1638, allocations: 4 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.164, allocations: 322.8 kB / 448.2 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.1641, allocations: 27.92 kB / 448.2 MB, free: 7.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.1641, allocations: 50.5 kB / 448.2 MB, free: 7.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/0.1642, allocations: 36.02 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1642, allocations: 0 / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000199/0.1644, allocations: 113.5 kB / 448.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1645, allocations: 7.984 kB / 448.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1645, allocations: 4 kB / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1645, allocations: 0 / 448.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.1646, allocations: 19.94 kB / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1646, allocations: 0 / 448.4 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.1647, allocations: 11.98 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1647, allocations: 0 / 448.4 MB, free: 7.117 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001102/0.1648, allocations: 125.9 kB / 448.5 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1648, allocations: 15.77 kB / 448.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.1649, allocations: 24.7 kB / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1649, allocations: 0 / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1649, allocations: 0 / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1649, allocations: 0 / 448.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.1654, allocations: 407.3 kB / 449 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1654, allocations: 4 kB / 449 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.1655, allocations: 16.02 kB / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1655, allocations: 0 / 449 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1655, allocations: 4 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1655, allocations: 3.938 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1655, allocations: 0 / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1658, allocations: 225.9 kB / 449.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1658, allocations: 93 kB / 449.3 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.1659, allocations: 4 kB / 449.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.166, allocations: 4 kB / 449.3 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.166, allocations: 7.984 kB / 449.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.1661, allocations: 7.938 kB / 449.3 MB, free: 6.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1662, allocations: 124.5 kB / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1662, allocations: 192 / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.1665, allocations: 35.98 kB / 449.5 MB, free: 5.93 MB / 382.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001695/0.1682, allocations: 1.238 MB / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1684, allocations: 71.91 kB / 450.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1684, allocations: 0 / 450.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.1685, allocations: 35.92 kB / 450.8 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1688, allocations: 28.05 kB / 450.9 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.17, allocations: 0.8214 MB / 451.7 MB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1704, allocations: 0.7004 MB / 452.4 MB, free: 2.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1704, allocations: 20.64 kB / 452.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.1705, allocations: 31.42 kB / 452.4 MB, free: 2.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1705, allocations: 0 / 452.4 MB, free: 2.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2595/0.43, allocations: 3.195 MB / 455.6 MB, free: 45.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/0.4303, allocations: 216.7 kB / 455.8 MB, free: 44.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.188, allocations: 2.969 kB / 455.8 MB, free: 44.79 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat