Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, 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.001171/0.001171, 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.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2673/0.2673, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002268, allocations: 86.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1626, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003953/0.1666, allocations: 1.818 MB / 481.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003061/0.1697, allocations: 1.705 MB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1699, allocations: 7.938 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1703, allocations: 51.69 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.1708, allocations: 131.4 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1711, allocations: 107.6 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1713, allocations: 195.5 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.1714, allocations: 13.69 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1716, allocations: 91.56 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.1719, allocations: 79.61 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.1719, allocations: 8 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.1721, allocations: 111.9 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1722, allocations: 39.84 kB / 484.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.1724, allocations: 63.53 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.1729, allocations: 223.7 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1729, allocations: 0 / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1729, allocations: 0 / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.1729, allocations: 4 kB / 484.7 MB, free: 0.5234 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.0009698/0.1739, allocations: 498.7 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1739, allocations: 8.031 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.174, allocations: 24.66 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1745, allocations: 256.9 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1745, allocations: 4.359 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1745, allocations: 12.12 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.1748, allocations: 101 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1748, allocations: 4 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.1749, allocations: 3.938 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1749, allocations: 0 / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.175, allocations: 31.97 kB / 485.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.1754, allocations: 218.5 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1757, allocations: 109.2 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1758, allocations: 41.64 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1758, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.1762, allocations: 109 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1762, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005077/0.1767, allocations: 169.4 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.1769, allocations: 128.5 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.1772, allocations: 244.2 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1772, allocations: 25.7 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1774, allocations: 116.1 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.1774, allocations: 27.64 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1775, allocations: 29.72 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1777, allocations: 330.8 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.1778, allocations: 27.98 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1779, allocations: 69.14 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1781, allocations: 91.34 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1781, allocations: 4.438 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002976/0.1784, allocations: 149.2 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1785, allocations: 6.5 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1785, allocations: 4 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1785, allocations: 0 / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1786, allocations: 23.98 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1787, allocations: 4 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.1787, allocations: 7.984 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1788, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001705/0.1789, allocations: 141.8 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.179, allocations: 19.72 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.179, allocations: 20.98 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1791, allocations: 0 / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1791, allocations: 0 / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1791, allocations: 0 / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.1793, allocations: 237.4 kB / 488 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1794, allocations: 3.938 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.1794, allocations: 8 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1794, allocations: 0 / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1794, allocations: 8 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1794, allocations: 0 / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1794, allocations: 3.984 kB / 488 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1798, allocations: 169.6 kB / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.1799, allocations: 96.92 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.1799, allocations: 3.984 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.18, allocations: 8 kB / 488.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.1801, allocations: 15.92 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1801, allocations: 4 kB / 488.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.1803, allocations: 181.6 kB / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1803, allocations: 0 / 488.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.1806, allocations: 51.98 kB / 488.5 MB, free: 12.34 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: 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 (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.001882/0.1825, allocations: 0.4969 MB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.1828, allocations: 79.91 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1828, allocations: 4.125 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1829, allocations: 47.91 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1834, allocations: 49.77 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.1843, allocations: 291.9 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.1848, allocations: 0.7242 MB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.185, allocations: 29.47 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.1851, allocations: 35.41 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of SimCode: time 2.955e-06/0.1851, allocations: 0 / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of Templates: time 0.008487/0.1936, allocations: 3.112 MB / 493.4 MB, free: 7.602 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches