Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.0009735/0.0009736, allocations: 94.34 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000957/0.0009571, allocations: 183 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005205, allocations: 15.09 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.161, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002681/0.1637, allocations: 1.39 MB / 472.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1654, allocations: 0.7842 MB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.1655, allocations: 3.938 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.1659, allocations: 75.77 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1661, allocations: 63.84 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1665, allocations: 95.69 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1667, allocations: 63.86 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1668, allocations: 20.16 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1669, allocations: 39.84 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.167, allocations: 47.81 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1671, allocations: 4 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1672, allocations: 20 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.1672, allocations: 23.91 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.1673, allocations: 41.64 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1675, allocations: 84.09 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1675, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.1676, allocations: 3.938 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1676, allocations: 4 kB / 474.3 MB, free: 10.84 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.0006432/0.1682, allocations: 406.8 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.438e-05/0.1683, allocations: 12.03 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/0.1684, allocations: 38.55 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.1684, allocations: 7.906 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.1687, allocations: 198.9 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1687, allocations: 4 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1688, allocations: 7.953 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.169, allocations: 57.67 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.169, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.169, allocations: 4 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.169, allocations: 0 / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.503e-05/0.1691, allocations: 19.92 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.1696, allocations: 288.8 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.1699, allocations: 62.67 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1699, allocations: 0 / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.1701, allocations: 71.44 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1702, allocations: 0 / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007131/0.1709, allocations: 173.5 kB / 475.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.171, allocations: 55.41 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1712, allocations: 219.2 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1713, allocations: 29.7 kB / 475.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/0.1714, allocations: 108 kB / 476 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.1714, allocations: 23.73 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.1715, allocations: 4 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1716, allocations: 326.8 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.1717, allocations: 16 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.1718, allocations: 41.64 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.1719, allocations: 27.98 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1719, allocations: 0 / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002555/0.1722, allocations: 105.5 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1722, allocations: 6.188 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.1723, allocations: 8.141 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.1723, allocations: 0 / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1724, allocations: 19.92 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1725, allocations: 3.984 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.1725, allocations: 8.031 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1726, allocations: 4 kB / 476.6 MB, free: 8.301 MB / 350.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 (10): * Single equations (assignments): 10 * 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.0001396/0.1727, allocations: 134.3 kB / 476.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1728, allocations: 15.81 kB / 476.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.1728, allocations: 17.39 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1729, allocations: 4 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1729, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1729, allocations: 0 / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.1735, allocations: 395.3 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1735, allocations: 0 / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.1736, allocations: 11.98 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1736, allocations: 0 / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1736, allocations: 4 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1736, allocations: 0 / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1736, allocations: 0 / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.174, allocations: 221.9 kB / 477.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.1741, allocations: 96.91 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.1741, allocations: 0 / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1743, allocations: 4 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.1743, allocations: 7.984 kB / 477.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.1744, allocations: 15.89 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.1746, allocations: 159.2 kB / 477.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1746, allocations: 0 / 477.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.1751, allocations: 24 kB / 477.7 MB, free: 7.102 MB / 350.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 (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.002116/0.1772, allocations: 1.172 MB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1775, allocations: 59.91 kB / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1775, allocations: 0 / 478.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1776, allocations: 32.27 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.178, allocations: 36.06 kB / 479 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1798, allocations: 0.8947 MB / 479.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1802, allocations: 0.7121 MB / 480.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.507e-05/0.1803, allocations: 20.48 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.1804, allocations: 35.42 kB / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1805, allocations: 0 / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.1969, allocations: 3.007 MB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.1972, allocations: 211.7 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.952, allocations: 0 / 483.9 MB, free: 1.098 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat