Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002999/0.002999, allocations: 76.61 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1641, allocations: 62.46 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003988/0.1681, allocations: 1.927 MB / 482.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.17, allocations: 1.06 MB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1702, allocations: 3.938 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1706, allocations: 47.69 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.1711, allocations: 91.55 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1714, allocations: 95.64 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1717, allocations: 151.5 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.1718, allocations: 33.47 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1719, allocations: 55.78 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.172, allocations: 55.64 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1721, allocations: 8 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1722, allocations: 43.98 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.1723, allocations: 23.91 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.1723, allocations: 51.67 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1726, allocations: 155.7 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1727, allocations: 0 / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1727, allocations: 0 / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1727, allocations: 0 / 483.9 MB, free: 1.391 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007458/0.1734, allocations: 484.5 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1735, allocations: 8.031 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.1735, allocations: 16.75 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1739, allocations: 241.5 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1739, allocations: 12.31 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1739, allocations: 8.125 kB / 484.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.1742, allocations: 112.2 kB / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1742, allocations: 0 / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1742, allocations: 0 / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1742, allocations: 0 / 484.8 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1744, allocations: 55.91 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.1751, allocations: 0.5087 MB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.1754, allocations: 86.66 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1756, allocations: 40.83 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1756, allocations: 0 / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.176, allocations: 87.31 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.176, allocations: 4 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004011/0.1764, allocations: 141.4 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.1764, allocations: 59.34 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1767, allocations: 198.2 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1767, allocations: 25.7 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.1768, allocations: 120 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1768, allocations: 27.56 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.1769, allocations: 33.7 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.177, allocations: 326.8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1771, allocations: 23.98 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1773, allocations: 68.39 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1775, allocations: 100.5 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1775, allocations: 7.938 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002687/0.1777, allocations: 137.3 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1778, allocations: 8.125 kB / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1778, allocations: 0 / 486.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1778, allocations: 4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.1779, allocations: 27.92 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1779, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.178, allocations: 11.94 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.178, allocations: 4 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001251/0.1781, allocations: 136.1 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.1782, allocations: 11.81 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.1782, allocations: 21.34 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1782, allocations: 7.938 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1783, allocations: 0 / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1783, allocations: 7.969 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.1785, allocations: 213.5 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1785, allocations: 4 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.1786, allocations: 12 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1786, allocations: 0 / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1786, allocations: 7.984 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1786, allocations: 3.938 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.1786, allocations: 8 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.179, allocations: 172.9 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.1791, allocations: 93.08 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.1791, allocations: 0 / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.1792, allocations: 23.8 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.1793, allocations: 7.984 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1793, allocations: 4.062 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1794, allocations: 148.4 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1794, allocations: 0 / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1797, allocations: 24 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001485/0.1812, allocations: 399.7 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1815, allocations: 88.02 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1815, allocations: 4.062 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1816, allocations: 31.98 kB / 488.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1819, allocations: 39.34 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.1825, allocations: 263.5 kB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1829, allocations: 0.7123 MB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.183, allocations: 25.41 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.183, allocations: 23.42 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.183, allocations: 0 / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005703/0.1887, allocations: 1.897 MB / 491.2 MB, free: 9.824 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches