Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.001007/0.001007, allocations: 97.12 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.0009901/0.0009901, allocations: 180.8 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.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 44.23 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002273/0.1683, allocations: 1.457 MB / 473 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1709, allocations: 1.433 MB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.171, allocations: 8 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.1715, allocations: 47.75 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1718, allocations: 75.77 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1722, allocations: 146.1 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.1724, allocations: 115.7 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.1725, allocations: 13.55 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1727, allocations: 67.7 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.1728, allocations: 62.92 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1729, allocations: 4 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.173, allocations: 39.98 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.1731, allocations: 27.89 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.1731, allocations: 45.64 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1734, allocations: 124 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1734, allocations: 0 / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1734, allocations: 0 / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1734, allocations: 0 / 475.2 MB, free: 10 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009015/0.1744, allocations: 454.5 kB / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.1744, allocations: 15.97 kB / 475.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.1745, allocations: 34.56 kB / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1745, allocations: 15.81 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.1749, allocations: 230.8 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1749, allocations: 0 / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.175, allocations: 11.94 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1752, allocations: 105 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1752, allocations: 0 / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1752, allocations: 8 kB / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1753, allocations: 0 / 476.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1754, allocations: 31.97 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.1756, allocations: 214.5 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1759, allocations: 109.3 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.176, allocations: 4 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.1763, allocations: 117 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1763, allocations: 0 / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000443/0.1767, allocations: 161.4 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1768, allocations: 132.5 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.1771, allocations: 207.8 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1771, allocations: 29.7 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.1772, allocations: 112.1 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.1773, allocations: 27.64 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.1773, allocations: 8 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1775, allocations: 326.8 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.1776, allocations: 31.98 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1777, allocations: 69.06 kB / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.904e-05/0.1778, allocations: 35.97 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1778, allocations: 7.984 kB / 477.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002742/0.1781, allocations: 133.3 kB / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1781, allocations: 11.95 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1781, allocations: 0 / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1782, allocations: 0 / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1783, allocations: 27.92 kB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1783, allocations: 0 / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1784, allocations: 16.06 kB / 477.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1784, allocations: 4.625 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001373/0.1786, allocations: 134.3 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1786, allocations: 15.81 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/0.1787, allocations: 24.94 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1787, allocations: 0 / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1787, allocations: 3.938 kB / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1787, allocations: 4 kB / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.1791, allocations: 225.5 kB / 478.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1791, allocations: 0 / 478.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.1791, allocations: 7.984 kB / 478.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1791, allocations: 4 kB / 478.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1791, allocations: 4 kB / 478.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1791, allocations: 3.953 kB / 478.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1792, allocations: 4 kB / 478.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1795, allocations: 179.4 kB / 478.4 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1795, allocations: 100.8 kB / 478.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1796, allocations: 15.94 kB / 478.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.1797, allocations: 4 kB / 478.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1797, allocations: 7.984 kB / 478.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.1797, allocations: 4 kB / 478.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1799, allocations: 156.2 kB / 478.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1799, allocations: 4 kB / 478.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1802, allocations: 36 kB / 478.8 MB, free: 6.039 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001661/0.1819, allocations: 1.138 MB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1821, allocations: 83.83 kB / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1821, allocations: 0 / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.1822, allocations: 35.98 kB / 480 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1825, allocations: 48.09 kB / 480.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1843, allocations: 1.319 MB / 481.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1847, allocations: 0.7167 MB / 482.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.1848, allocations: 42 kB / 482.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.1849, allocations: 55.41 kB / 482.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1849, allocations: 0 / 482.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.2019, allocations: 4.11 MB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/0.2022, allocations: 220.6 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.153, allocations: 3.875 kB / 486.5 MB, free: 14.44 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat