Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001006/0.001006, allocations: 96.28 kB / 15.69 MB, free: 480 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.001113/0.001113, allocations: 175.1 kB / 16.57 MB, free: 6.852 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.862/1.862, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3553/0.3553, allocations: 43.54 MB / 314.5 MB, free: 9.082 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.0007291/0.0007298, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1668, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00271/0.1695, allocations: 1.516 MB / 444.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1712, allocations: 0.8124 MB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1713, allocations: 7.938 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.1718, allocations: 203.5 kB / 445.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1722, allocations: 147.6 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1727, allocations: 131.6 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.173, allocations: 147.7 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1732, allocations: 25.53 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1734, allocations: 95.59 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1736, allocations: 111.7 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.1737, allocations: 4 kB / 446 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1738, allocations: 35.86 kB / 446.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.778e-05/0.1739, allocations: 47.81 kB / 446.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.174, allocations: 61.58 kB / 446.2 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1742, allocations: 148 kB / 446.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1742, allocations: 0 / 446.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1742, allocations: 0 / 446.3 MB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1742, allocations: 0 / 446.3 MB, free: 9.699 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008161/0.1751, allocations: 0.5136 MB / 446.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.1751, allocations: 8.031 kB / 446.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.1752, allocations: 46.48 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.1753, allocations: 31.62 kB / 446.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.1756, allocations: 263.1 kB / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1757, allocations: 0 / 447.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1757, allocations: 4 kB / 447.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.176, allocations: 99.34 kB / 447.3 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.176, allocations: 3.938 kB / 447.3 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.176, allocations: 7.953 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.176, allocations: 4 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1761, allocations: 39.97 kB / 447.3 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.1767, allocations: 437.1 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.177, allocations: 121.4 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.177, allocations: 11.89 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.1773, allocations: 113 kB / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1773, allocations: 0 / 448 MB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008693/0.1782, allocations: 372.1 kB / 448.4 MB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.1782, allocations: 81.11 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.1787, allocations: 428.4 kB / 448.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.1787, allocations: 33.7 kB / 448.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1788, allocations: 148.4 kB / 449 MB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.1789, allocations: 51.3 kB / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1789, allocations: 0 / 449.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1791, allocations: 354.8 kB / 449.4 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1792, allocations: 39.94 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1793, allocations: 71.39 kB / 449.5 MB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1794, allocations: 43.94 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1794, allocations: 0 / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003052/0.1798, allocations: 181.2 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1798, allocations: 8 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1798, allocations: 0 / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1798, allocations: 0 / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.18, allocations: 39.92 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.18, allocations: 3.984 kB / 449.8 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.1801, allocations: 11.91 kB / 449.8 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1801, allocations: 8 kB / 449.8 MB, free: 5.914 MB / 382.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001832/0.1803, allocations: 165.8 kB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.1803, allocations: 31.66 kB / 450 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.474e-05/0.1804, allocations: 38.61 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1804, allocations: 4 kB / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.1805, allocations: 0 / 450.1 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1805, allocations: 7.922 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.1813, allocations: 0.6203 MB / 450.7 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1813, allocations: 4 kB / 450.7 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.1814, allocations: 19.92 kB / 450.7 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.1814, allocations: 4 kB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1814, allocations: 4 kB / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1815, allocations: 0 / 450.7 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1815, allocations: 3.953 kB / 450.7 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.1819, allocations: 405.6 kB / 451.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.1821, allocations: 104.8 kB / 451.2 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1821, allocations: 4 kB / 451.2 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1822, allocations: 15.98 kB / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.1823, allocations: 11.98 kB / 451.3 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1823, allocations: 12.56 kB / 451.3 MB, free: 4.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003393/0.1827, allocations: 315 kB / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1827, allocations: 0 / 451.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.183, allocations: 39.98 kB / 451.6 MB, free: 3.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002042/0.1851, allocations: 1.516 MB / 453.1 MB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.1855, allocations: 115.8 kB / 453.3 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1855, allocations: 0 / 453.3 MB, free: 2.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1857, allocations: 64.16 kB / 453.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.1861, allocations: 49.02 kB / 453.4 MB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.1888, allocations: 1.914 MB / 455.3 MB, free: 268 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2272/0.4161, allocations: 0.772 MB / 456 MB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.4163, allocations: 34.52 kB / 456.1 MB, free: 45.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.4165, allocations: 78.48 kB / 456.2 MB, free: 45.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4165, allocations: 0 / 456.2 MB, free: 45.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.4357, allocations: 5.143 MB / 461.3 MB, free: 45.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.4359, allocations: 214.5 kB / 461.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.375, allocations: 3.844 kB / 461.5 MB, free: 45.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat