Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.11 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 90.62 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1564, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003749/0.1602, allocations: 1.736 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1622, allocations: 1.029 MB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.1623, allocations: 0 / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1626, allocations: 43.75 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.163, allocations: 95.59 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1632, allocations: 83.66 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.1635, allocations: 103.7 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1636, allocations: 8 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.1637, allocations: 47.78 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.1638, allocations: 35.78 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1638, allocations: 4 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1639, allocations: 43.92 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.835e-05/0.164, allocations: 23.91 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.1641, allocations: 35.75 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1643, allocations: 135.8 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1643, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1643, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1644, allocations: 0 / 483.5 MB, free: 1.773 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.0006331/0.165, allocations: 426.8 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.165, allocations: 12.03 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.1651, allocations: 8.844 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1654, allocations: 229.5 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1654, allocations: 384 / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1654, allocations: 8.125 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1656, allocations: 57.67 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1656, allocations: 0 / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1656, allocations: 0 / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1656, allocations: 0 / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.1657, allocations: 23.92 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.1662, allocations: 300.8 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1664, allocations: 62.67 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.1665, allocations: 16.86 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1665, allocations: 0 / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.1667, allocations: 75.23 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1667, allocations: 0 / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005753/0.1673, allocations: 173.2 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1674, allocations: 55.34 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1677, allocations: 238.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1677, allocations: 25.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1679, allocations: 112.1 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.1679, allocations: 31.62 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.168, allocations: 17.72 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002958/0.1683, allocations: 334.8 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.1684, allocations: 20 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.1684, allocations: 37.7 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1686, allocations: 61.64 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1686, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1688, allocations: 101.9 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1688, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1688, allocations: 4.031 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1688, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.1689, allocations: 31.92 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.169, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.169, allocations: 7.844 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.169, allocations: 4 kB / 486 MB, free: 15.11 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.0001282/0.1692, allocations: 132.4 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1692, allocations: 11.91 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.1693, allocations: 21.39 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1693, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1693, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1693, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.1699, allocations: 403.2 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1699, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.1699, allocations: 12 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1699, allocations: 192 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1699, allocations: 3.969 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.17, allocations: 11.94 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.17, allocations: 7.922 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1703, allocations: 200.5 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1703, allocations: 88.92 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1704, allocations: 3.938 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.1704, allocations: 4 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.1705, allocations: 11.98 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1705, allocations: 8 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.1707, allocations: 172.4 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1707, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.171, allocations: 24 kB / 487.1 MB, free: 13.9 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.001709/0.1727, allocations: 467.2 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.173, allocations: 55.97 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.173, allocations: 3.938 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.1731, allocations: 27.98 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1734, allocations: 26.98 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.174, allocations: 263.6 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1744, allocations: 0.7157 MB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.1744, allocations: 21.19 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.1745, allocations: 15.44 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1745, allocations: 0 / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of Templates: time 0.005229/0.1797, allocations: 1.752 MB / 490.4 MB, free: 10.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches