Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.001283/0.001283, allocations: 95 kB / 16.98 MB, free: 6.402 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.001226/0.001226, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.382/1.382, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2282/0.2282, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002235/0.1689, allocations: 1.391 MB / 472.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.171, allocations: 1.367 MB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.1711, allocations: 3.938 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1714, allocations: 31.89 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.1717, allocations: 43.83 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1719, allocations: 87.77 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1721, allocations: 63.84 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1722, allocations: 12.23 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.1723, allocations: 35.84 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.1725, allocations: 31.84 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1725, allocations: 4 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1727, allocations: 43.84 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.1727, allocations: 8 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.1728, allocations: 41.62 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1729, allocations: 88.09 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1729, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.173, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.173, allocations: 4 kB / 474.8 MB, free: 10.36 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.0005141/0.1735, allocations: 399 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1735, allocations: 12.03 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.1736, allocations: 30.56 kB / 475.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1736, allocations: 7.906 kB / 475.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1739, allocations: 198.9 kB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1739, allocations: 7.953 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1739, allocations: 0 / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1741, allocations: 75.38 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1741, allocations: 3.906 kB / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1741, allocations: 0 / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1741, allocations: 0 / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.1742, allocations: 23.98 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.1745, allocations: 284.8 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1747, allocations: 62.67 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1747, allocations: 4 kB / 475.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1749, allocations: 71.45 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1749, allocations: 0 / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004883/0.1754, allocations: 165.3 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1755, allocations: 88.98 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1756, allocations: 160 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1756, allocations: 29.69 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.1757, allocations: 92.14 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1757, allocations: 27.64 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.1758, allocations: 4 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1759, allocations: 322.8 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.176, allocations: 12 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.176, allocations: 46.56 kB / 476.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.101e-05/0.1761, allocations: 31.97 kB / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1761, allocations: 0 / 476.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1763, allocations: 93.53 kB / 477 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1763, allocations: 6.5 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1763, allocations: 4 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1763, allocations: 0 / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.1764, allocations: 20.05 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1765, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.1765, allocations: 11.91 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1765, allocations: 7.953 kB / 477 MB, free: 7.859 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.0001175/0.1767, allocations: 118.3 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1767, allocations: 15.89 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1767, allocations: 8.719 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1767, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1768, allocations: 4 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1768, allocations: 0 / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.1772, allocations: 395.3 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1772, allocations: 0 / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.1773, allocations: 8 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1773, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1773, allocations: 4 kB / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1773, allocations: 0 / 477.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1773, allocations: 7.984 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1775, allocations: 210 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1776, allocations: 93 kB / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1776, allocations: 384 / 477.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.1777, allocations: 11.94 kB / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.1778, allocations: 12.19 kB / 477.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1778, allocations: 7.938 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.1779, allocations: 126.1 kB / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1779, allocations: 0 / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1782, allocations: 31.98 kB / 478.1 MB, free: 6.711 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.001519/0.1797, allocations: 1.214 MB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.1799, allocations: 51.97 kB / 479.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1799, allocations: 7.938 kB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.18, allocations: 27.98 kB / 479.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.1802, allocations: 19.98 kB / 479.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1813, allocations: 0.7783 MB / 480.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1815, allocations: 0.7014 MB / 480.9 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.05e-05/0.1816, allocations: 17.33 kB / 480.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.1817, allocations: 35.42 kB / 480.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1817, allocations: 0 / 480.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/0.1953, allocations: 3.047 MB / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/0.1957, allocations: 222.9 kB / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.942, allocations: 3.938 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat