Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.0009599/0.0009602, allocations: 96.05 kB / 15.68 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.001056/0.001056, allocations: 171.6 kB / 16.56 MB, free: 6.375 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.716/1.716, 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.4544/0.4544, allocations: 43.55 MB / 314.5 MB, free: 8.992 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.0006818/0.0006822, allocations: 16 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.154, allocations: 58.85 MB / 442.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003077/0.1571, allocations: 1.411 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1589, allocations: 0.7266 MB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.1591, allocations: 8 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.1595, allocations: 95.72 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.1598, allocations: 75.77 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1601, allocations: 75.83 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1603, allocations: 75.83 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1604, allocations: 23.97 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1605, allocations: 51.81 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1606, allocations: 47.83 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1607, allocations: 7.938 kB / 445.4 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.1608, allocations: 27.98 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.1608, allocations: 23.92 kB / 445.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.1609, allocations: 41.62 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.161, allocations: 104.1 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1611, allocations: 0 / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1611, allocations: 3.938 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1611, allocations: 4 kB / 445.6 MB, free: 10.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005993/0.1617, allocations: 426.6 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1617, allocations: 11.97 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.1618, allocations: 34.56 kB / 446.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1619, allocations: 15.81 kB / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1621, allocations: 222.5 kB / 446.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1622, allocations: 4 kB / 446.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1622, allocations: 11.98 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1624, allocations: 65.61 kB / 446.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1624, allocations: 0 / 446.4 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1624, allocations: 3.953 kB / 446.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1624, allocations: 0 / 446.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.523e-05/0.1625, allocations: 35.97 kB / 446.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.163, allocations: 316.7 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1632, allocations: 74.72 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.1632, allocations: 0 / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1634, allocations: 91.36 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 3.336e-06/0.1634, allocations: 4 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006231/0.164, allocations: 228.9 kB / 447.2 MB, free: 8.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1641, allocations: 51.41 kB / 447.2 MB, free: 8.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/0.1643, allocations: 242.5 kB / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1644, allocations: 33.7 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.1644, allocations: 108.1 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.1645, allocations: 39.69 kB / 447.6 MB, free: 8.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.1645, allocations: 4 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1647, allocations: 326.8 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1647, allocations: 31.98 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.1648, allocations: 49.69 kB / 448 MB, free: 7.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.788e-05/0.1649, allocations: 28 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1649, allocations: 0 / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002159/0.1651, allocations: 145.4 kB / 448.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1651, allocations: 4 kB / 448.2 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1652, allocations: 4.031 kB / 448.2 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1652, allocations: 0 / 448.2 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1653, allocations: 23.98 kB / 448.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1653, allocations: 0 / 448.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.1654, allocations: 11.91 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1654, allocations: 7.938 kB / 448.2 MB, free: 7.535 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 (13): * Single equations (assignments): 13 * 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.0001145/0.1655, allocations: 137.8 kB / 448.4 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.1655, allocations: 15.86 kB / 448.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.1656, allocations: 25.39 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1656, allocations: 8 kB / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1656, allocations: 0 / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1656, allocations: 0 / 448.4 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1661, allocations: 455 kB / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1661, allocations: 0 / 448.9 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.1662, allocations: 12 kB / 448.9 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1662, allocations: 3.984 kB / 448.9 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1662, allocations: 8.031 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1662, allocations: 0 / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1662, allocations: 3.984 kB / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.1665, allocations: 245.8 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.1666, allocations: 92.91 kB / 449.2 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1666, allocations: 8 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1667, allocations: 4 kB / 449.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.1667, allocations: 11.98 kB / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.1668, allocations: 4 kB / 449.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1669, allocations: 184.5 kB / 449.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1669, allocations: 0 / 449.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1672, allocations: 24 kB / 449.5 MB, free: 6.207 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 (11): * Single equations (assignments): 9 * 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.001521/0.1687, allocations: 1.216 MB / 450.7 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1689, allocations: 83.84 kB / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1689, allocations: 0 / 450.8 MB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.169, allocations: 43.92 kB / 450.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.1693, allocations: 20.17 kB / 450.8 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1707, allocations: 1.045 MB / 451.9 MB, free: 3.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.171, allocations: 0.7282 MB / 452.6 MB, free: 3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.171, allocations: 21.06 kB / 452.6 MB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.1711, allocations: 47.42 kB / 452.7 MB, free: 2.934 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1711, allocations: 4 kB / 452.7 MB, free: 2.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2546/0.4257, allocations: 3.42 MB / 456.1 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.426, allocations: 218.7 kB / 456.3 MB, free: 45.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.14, allocations: 3.031 kB / 456.3 MB, free: 45.24 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat