Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, 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.001177/0.001177, 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.502/1.502, 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.2469/0.2469, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 77.66 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1639, allocations: 62.46 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004282/0.1683, allocations: 1.727 MB / 481.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1704, allocations: 1.029 MB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.1705, allocations: 0 / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.1709, allocations: 47.75 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.1713, allocations: 103.6 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1715, allocations: 75.69 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1718, allocations: 107.7 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1719, allocations: 15.98 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.172, allocations: 35.8 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.1721, allocations: 51.7 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1721, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1722, allocations: 39.98 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1723, allocations: 23.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.1724, allocations: 43.67 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1727, allocations: 139.8 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1727, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1727, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1727, allocations: 0 / 483.6 MB, free: 1.75 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.0007894/0.1735, allocations: 450.6 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1735, allocations: 12.03 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.1736, allocations: 12.84 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1739, allocations: 220.9 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.174, allocations: 4.375 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.174, allocations: 4.125 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1742, allocations: 57.67 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1742, allocations: 0 / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1742, allocations: 4 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1743, allocations: 0 / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.1743, allocations: 23.92 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.1748, allocations: 296.9 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1751, allocations: 54.69 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.739e-05/0.1751, allocations: 20.84 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1752, allocations: 7.938 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003408/0.1755, allocations: 71.33 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1756, allocations: 3.938 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007616/0.1763, allocations: 188.9 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.1764, allocations: 51.41 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.1768, allocations: 271 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.1768, allocations: 29.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1769, allocations: 116.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.177, allocations: 19.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.177, allocations: 21.72 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.1773, allocations: 334.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.1773, allocations: 20 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.1774, allocations: 37.7 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1776, allocations: 61.64 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1776, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.1778, allocations: 105.5 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1778, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1778, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.1778, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1779, allocations: 15.94 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.178, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.178, allocations: 15.89 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.178, allocations: 4 kB / 486 MB, free: 15.02 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.0001618/0.1782, allocations: 133.8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.1782, allocations: 15.81 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.1783, allocations: 25.39 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1783, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1783, allocations: 384 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1784, allocations: 7.938 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.1789, allocations: 407.3 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1789, allocations: 4 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.179, allocations: 15.92 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.179, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.179, allocations: 7.938 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.179, allocations: 0 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.179, allocations: 0 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1793, allocations: 212.6 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.1794, allocations: 88.92 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1794, allocations: 15.81 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.1795, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.1795, allocations: 11.98 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1796, allocations: 4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1798, allocations: 204.4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1798, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1801, allocations: 27.98 kB / 487.2 MB, free: 13.76 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.00194/0.182, allocations: 459 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1823, allocations: 63.91 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1823, allocations: 4 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.1824, allocations: 24 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1827, allocations: 34.77 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.1834, allocations: 295.7 kB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1838, allocations: 0.7235 MB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.1839, allocations: 21.12 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.1839, allocations: 15.44 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1839, allocations: 0 / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005769/0.1897, allocations: 1.767 MB / 490.6 MB, free: 10.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches