Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002264, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2889/0.2889, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 80.3 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.161, allocations: 62.44 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.004547/0.1657, allocations: 1.788 MB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003026/0.1687, allocations: 1.608 MB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.1689, allocations: 4 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.1693, allocations: 27.91 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.1696, allocations: 87.62 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1698, allocations: 63.86 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.17, allocations: 99.7 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1702, allocations: 19.91 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.251e-05/0.1703, allocations: 39.8 kB / 483 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.1705, allocations: 39.83 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1705, allocations: 4 kB / 483.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1707, allocations: 103.9 kB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.1708, allocations: 15.92 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.532e-05/0.1708, allocations: 31.8 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.1711, allocations: 171.8 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1711, allocations: 0 / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1712, allocations: 0 / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1712, allocations: 0 / 483.4 MB, free: 1.609 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.000716/0.1719, allocations: 427 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1719, allocations: 16.86 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.172, allocations: 8.844 kB / 483.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1723, allocations: 208.7 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1724, allocations: 3.938 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1724, allocations: 4 kB / 484 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1726, allocations: 71.33 kB / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1726, allocations: 0 / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.1727, allocations: 0 / 484.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1727, allocations: 4 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.1728, allocations: 23.98 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.1733, allocations: 284.9 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1735, allocations: 54.62 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.1736, allocations: 24.84 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1736, allocations: 4 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.1739, allocations: 71.39 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1739, allocations: 0 / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006399/0.1746, allocations: 177.1 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/0.1747, allocations: 81.05 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1749, allocations: 166.4 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1749, allocations: 33.7 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.175, allocations: 96.12 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.175, allocations: 23.66 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.1751, allocations: 25.7 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1752, allocations: 322.8 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.1753, allocations: 20 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.1754, allocations: 46.44 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1755, allocations: 61.73 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1755, allocations: 0 / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.1757, allocations: 97.53 kB / 485.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1758, allocations: 8 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1758, allocations: 3.984 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1758, allocations: 0 / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.1759, allocations: 12 kB / 485.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1759, allocations: 12.08 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.176, allocations: 4.031 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.176, allocations: 4 kB / 485.7 MB, free: 15.01 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.1761, allocations: 133.8 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1761, allocations: 11.81 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.1762, allocations: 12.72 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1762, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1762, allocations: 7.922 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1762, allocations: 0 / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1768, allocations: 399.3 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1768, allocations: 0 / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.1768, allocations: 11.94 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1768, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1768, allocations: 4 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1768, allocations: 4.375 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1768, allocations: 0 / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1771, allocations: 208.2 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.1772, allocations: 84.95 kB / 486.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1772, allocations: 12 kB / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1773, allocations: 0 / 486.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.1774, allocations: 7.984 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1774, allocations: 7.938 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1775, allocations: 126.5 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1775, allocations: 4 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1779, allocations: 51.98 kB / 486.8 MB, free: 13.84 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/0.1793, allocations: 0.5313 MB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.1796, allocations: 63.91 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1796, allocations: 4 kB / 487.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.467e-05/0.1797, allocations: 24 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.18, allocations: 31.84 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.1806, allocations: 224.7 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1809, allocations: 0.6965 MB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.794e-05/0.181, allocations: 21.19 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.1811, allocations: 19.42 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1811, allocations: 4 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Templates: time 0.005832/0.1869, allocations: 2.287 MB / 490.7 MB, free: 10.08 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches