Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.001042/0.001042, allocations: 95.27 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.00105/0.00105, allocations: 175.5 kB / 16.57 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.697/1.697, 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.4227/0.4227, allocations: 43.56 MB / 314.5 MB, free: 9.043 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.0005577/0.0005579, allocations: 20 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.166, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002917/0.169, allocations: 1.516 MB / 444.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1705, allocations: 0.8201 MB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1706, allocations: 4 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.1712, allocations: 235.4 kB / 445.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.1715, allocations: 163.6 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1719, allocations: 127.6 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.1722, allocations: 159.7 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1723, allocations: 21.53 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1725, allocations: 115.6 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1727, allocations: 135.6 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1727, allocations: 8 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.1728, allocations: 31.92 kB / 446.2 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.1729, allocations: 55.81 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.173, allocations: 57.58 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1733, allocations: 160 kB / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.1733, allocations: 0 / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1733, allocations: 3.938 kB / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1733, allocations: 0 / 446.4 MB, free: 9.586 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.0009715/0.1743, allocations: 0.533 MB / 447 MB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.1744, allocations: 8.031 kB / 447 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.1744, allocations: 38.55 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.1745, allocations: 27.62 kB / 447 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.1749, allocations: 275 kB / 447.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.175, allocations: 4 kB / 447.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.175, allocations: 4 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.1753, allocations: 95.36 kB / 447.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1753, allocations: 4 kB / 447.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1753, allocations: 3.953 kB / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1754, allocations: 0 / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1755, allocations: 43.91 kB / 447.5 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.1763, allocations: 448.9 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.1767, allocations: 125.4 kB / 448 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.1767, allocations: 11.88 kB / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.1771, allocations: 113.1 kB / 448.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.1771, allocations: 0 / 448.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001127/0.1782, allocations: 375.9 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/0.1783, allocations: 85.05 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.1789, allocations: 473.7 kB / 449.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.179, allocations: 37.69 kB / 449.1 MB, free: 6.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1791, allocations: 156.4 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.1792, allocations: 55.34 kB / 449.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.1792, allocations: 4 kB / 449.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.1795, allocations: 342.8 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1796, allocations: 43.92 kB / 449.7 MB, free: 6.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1797, allocations: 71.41 kB / 449.8 MB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1798, allocations: 44.16 kB / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1799, allocations: 0 / 449.8 MB, free: 5.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003479/0.1802, allocations: 189.1 kB / 450 MB, free: 5.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1802, allocations: 4 kB / 450 MB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1803, allocations: 4 kB / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1803, allocations: 0 / 450 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.1805, allocations: 35.98 kB / 450 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1805, allocations: 0 / 450 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.1806, allocations: 15.98 kB / 450 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.1806, allocations: 12 kB / 450.1 MB, free: 5.695 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.0002183/0.1808, allocations: 173.7 kB / 450.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1809, allocations: 31.62 kB / 450.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.181, allocations: 38.8 kB / 450.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.181, allocations: 4 kB / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.181, allocations: 0 / 450.3 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.181, allocations: 3.984 kB / 450.3 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.1819, allocations: 0.6358 MB / 450.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1819, allocations: 0 / 450.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.182, allocations: 16 kB / 451 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.182, allocations: 0 / 451 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.182, allocations: 7.984 kB / 451 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.182, allocations: 3.938 kB / 451 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.182, allocations: 8.016 kB / 451 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.1825, allocations: 401.2 kB / 451.4 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1826, allocations: 112.7 kB / 451.5 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1827, allocations: 4 kB / 451.5 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1828, allocations: 8 kB / 451.5 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.1829, allocations: 19.86 kB / 451.5 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.1829, allocations: 8.547 kB / 451.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004264/0.1833, allocations: 363.1 kB / 451.9 MB, free: 3.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1834, allocations: 0 / 451.9 MB, free: 3.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.1837, allocations: 32 kB / 451.9 MB, free: 3.715 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.002061/0.1858, allocations: 1.516 MB / 453.4 MB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1861, allocations: 119.9 kB / 453.5 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1861, allocations: 0 / 453.5 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1862, allocations: 55.92 kB / 453.6 MB, free: 2.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1866, allocations: 53.34 kB / 453.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2465/0.4332, allocations: 2.02 MB / 455.7 MB, free: 46.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.4336, allocations: 0.7825 MB / 456.4 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000155/0.4337, allocations: 26.84 kB / 456.5 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4339, allocations: 87.03 kB / 456.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4339, allocations: 3.438 kB / 456.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.4522, allocations: 5.36 MB / 461.9 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.4525, allocations: 212.3 kB / 462.1 MB, free: 44.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.353, allocations: 0 / 462.1 MB, free: 44.83 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat