Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.962/1.962, allocations: 227.4 MB / 246.9 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2496/0.2496, allocations: 46.11 MB / 344.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 76.88 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1623, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.004708/0.1671, allocations: 1.742 MB / 481.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1695, allocations: 1.001 MB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.1697, allocations: 0 / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.1701, allocations: 59.86 kB / 482.7 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.1705, allocations: 91.66 kB / 482.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1708, allocations: 55.89 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1711, allocations: 103.7 kB / 483 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1711, allocations: 8.234 kB / 483 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1713, allocations: 47.72 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.1714, allocations: 43.83 kB / 483.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1715, allocations: 0 / 483.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1716, allocations: 31.98 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.1717, allocations: 19.92 kB / 483.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1718, allocations: 35.72 kB / 483.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.172, allocations: 80.12 kB / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.172, allocations: 0 / 483.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.172, allocations: 4 kB / 483.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.172, allocations: 0 / 483.3 MB, free: 2.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009239/0.173, allocations: 410.8 kB / 483.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.173, allocations: 8.875 kB / 483.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1731, allocations: 12.84 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1735, allocations: 212.8 kB / 483.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1735, allocations: 4.375 kB / 483.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1735, allocations: 4.125 kB / 483.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1737, allocations: 53.67 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1738, allocations: 4 kB / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1738, allocations: 0 / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1738, allocations: 0 / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1739, allocations: 19.92 kB / 484 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.1742, allocations: 177.7 kB / 484.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1745, allocations: 54.61 kB / 484.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/0.1746, allocations: 24.8 kB / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1746, allocations: 4 kB / 484.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.1749, allocations: 63.33 kB / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.1749, allocations: 0 / 484.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004463/0.1754, allocations: 93.48 kB / 484.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1755, allocations: 63.39 kB / 484.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1758, allocations: 190.9 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1758, allocations: 25.7 kB / 484.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.1759, allocations: 104.1 kB / 484.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.176, allocations: 11.83 kB / 484.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.176, allocations: 21.72 kB / 484.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1762, allocations: 318.8 kB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.1763, allocations: 12 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1764, allocations: 41.64 kB / 485.2 MB, free: 280 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.1766, allocations: 41.7 kB / 485.2 MB, free: 232 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1766, allocations: 0 / 485.2 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002838/0.1769, allocations: 93.31 kB / 485.3 MB, free: 132 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1769, allocations: 4 kB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.177, allocations: 0 / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.177, allocations: 0 / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1771, allocations: 15.98 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1771, allocations: 4.031 kB / 485.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.1772, allocations: 4 kB / 485.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1773, allocations: 320 / 485.3 MB, free: 104 kB / 350.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 (7): * Single equations (assignments): 7 * 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.0001866/0.1775, allocations: 129.8 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1775, allocations: 15.81 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.1776, allocations: 9 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1776, allocations: 0 / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1776, allocations: 4 kB / 485.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1776, allocations: 3.984 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1779, allocations: 201.4 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1779, allocations: 0 / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1779, allocations: 8 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1779, allocations: 0 / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.178, allocations: 3.984 kB / 485.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.178, allocations: 4 kB / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.178, allocations: 0 / 485.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1783, allocations: 105 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.1784, allocations: 89 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.1785, allocations: 8 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.1785, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1786, allocations: 4 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1786, allocations: 3.984 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.1788, allocations: 148.8 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1788, allocations: 0 / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.1793, allocations: 23.98 kB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001586/0.1809, allocations: 420.3 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000229/0.1811, allocations: 31.98 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1812, allocations: 4 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.1813, allocations: 27.92 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.1817, allocations: 27.48 kB / 486.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.1824, allocations: 249.5 kB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1828, allocations: 0.7004 MB / 487.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.1829, allocations: 19.42 kB / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of SimCode: time 3.196e-06/0.1829, allocations: 0 / 487.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Templates: time 0.005481/0.1884, allocations: 1.708 MB / 489.2 MB, free: 12.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches