Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001889/0.001896, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002294/0.002295, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.312/2.312, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3868/0.3868, allocations: 46.1 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 71.42 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1635, allocations: 62.45 MB / 480 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003663/0.1672, allocations: 1.776 MB / 481.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1691, allocations: 1.025 MB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.921e-05/0.1692, allocations: 0 / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.1696, allocations: 35.89 kB / 482.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.17, allocations: 87.61 kB / 482.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1702, allocations: 59.88 kB / 482.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.1704, allocations: 95.75 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1706, allocations: 12 kB / 483 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1707, allocations: 47.7 kB / 483.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.1708, allocations: 31.8 kB / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1708, allocations: 0 / 483.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.171, allocations: 43.98 kB / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.171, allocations: 23.91 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1711, allocations: 31.75 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1713, allocations: 96.03 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1713, allocations: 0 / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1713, allocations: 4 kB / 483.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1713, allocations: 0 / 483.3 MB, free: 2.316 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.0006282/0.172, allocations: 414.9 kB / 483.7 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.172, allocations: 12.88 kB / 483.7 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.1721, allocations: 8.844 kB / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1724, allocations: 204.8 kB / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1724, allocations: 384 / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.1724, allocations: 16.12 kB / 484 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1726, allocations: 57.61 kB / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1726, allocations: 0 / 484 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1727, allocations: 7.984 kB / 484 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1727, allocations: 3.938 kB / 484 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.1728, allocations: 19.98 kB / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1732, allocations: 288.8 kB / 484.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1734, allocations: 62.62 kB / 484.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.1735, allocations: 20.84 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1735, allocations: 4 kB / 484.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.1738, allocations: 63.39 kB / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.1738, allocations: 0 / 484.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006362/0.1744, allocations: 173.2 kB / 484.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1745, allocations: 59.41 kB / 484.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.1747, allocations: 190.9 kB / 484.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1747, allocations: 29.7 kB / 484.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1748, allocations: 104.1 kB / 485 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.1749, allocations: 19.72 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.1749, allocations: 29.7 kB / 485.1 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1751, allocations: 322.8 kB / 485.4 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.1751, allocations: 27.98 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.784e-05/0.1752, allocations: 37.7 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1754, allocations: 57.64 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1754, allocations: 0 / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002323/0.1756, allocations: 117.4 kB / 485.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1756, allocations: 4 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1757, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1757, allocations: 4.031 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1758, allocations: 16 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1758, allocations: 0 / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.1759, allocations: 7.922 kB / 485.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1759, allocations: 4 kB / 485.6 MB, free: 15.74 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.0001264/0.176, allocations: 125.8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.176, allocations: 11.91 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.589e-05/0.1761, allocations: 17.77 kB / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1761, allocations: 0 / 485.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1761, allocations: 4 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1761, allocations: 7.938 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.1767, allocations: 399.2 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1767, allocations: 4 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/0.1768, allocations: 4.188 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1768, allocations: 4 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1768, allocations: 11.88 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1768, allocations: 32 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1768, allocations: 8 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1771, allocations: 192.3 kB / 486.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1771, allocations: 92.84 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1772, allocations: 11.94 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.1773, allocations: 0 / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1773, allocations: 11.98 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1773, allocations: 4 kB / 486.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1775, allocations: 152.7 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1775, allocations: 0 / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1778, allocations: 24 kB / 486.7 MB, free: 14.57 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.001251/0.1791, allocations: 459.5 kB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1793, allocations: 59.91 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1793, allocations: 0 / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.1794, allocations: 31.97 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1798, allocations: 25.33 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.1804, allocations: 286.9 kB / 487.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.1807, allocations: 0.7082 MB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.1807, allocations: 19.44 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1807, allocations: 0 / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.004339/0.1851, allocations: 1.94 MB / 490.2 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches