Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001933/0.001935, allocations: 113.6 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.00198, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.4 MB, free: 9.113 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 84.86 kB / 417.1 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1467, allocations: 62.45 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.004419/0.1512, allocations: 1.78 MB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1531, allocations: 1.01 MB / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1533, allocations: 3.938 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1538, allocations: 75.77 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.1542, allocations: 111.7 kB / 482.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1545, allocations: 55.89 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1548, allocations: 123.6 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1549, allocations: 11.97 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.155, allocations: 51.78 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1552, allocations: 63.75 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1552, allocations: 4 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1554, allocations: 51.97 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.1555, allocations: 27.86 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.1555, allocations: 31.75 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1558, allocations: 127.8 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1558, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1558, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1558, allocations: 0 / 483 MB, free: 2.051 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.0006637/0.1565, allocations: 418.9 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1565, allocations: 8.031 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.1566, allocations: 16.75 kB / 483.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1569, allocations: 216.5 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1569, allocations: 4.375 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1569, allocations: 12.03 kB / 483.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1571, allocations: 57.67 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1571, allocations: 3.938 kB / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1572, allocations: 0 / 483.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1572, allocations: 4 kB / 483.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.1573, allocations: 15.98 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1577, allocations: 296.9 kB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1579, allocations: 54.62 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.1579, allocations: 20.84 kB / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.158, allocations: 0 / 484.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1582, allocations: 71.39 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1582, allocations: 0 / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006133/0.1588, allocations: 189 kB / 484.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1589, allocations: 55.41 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1591, allocations: 220.3 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1592, allocations: 25.7 kB / 484.7 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.1592, allocations: 108.1 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.1593, allocations: 23.66 kB / 484.8 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.1593, allocations: 25.7 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1595, allocations: 334.8 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.1596, allocations: 19.94 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.644e-05/0.1597, allocations: 41.64 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1598, allocations: 53.7 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1598, allocations: 4 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002044/0.16, allocations: 113.4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1601, allocations: 4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.1601, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1601, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.1602, allocations: 16 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1602, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.1603, allocations: 11.86 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1603, allocations: 4 kB / 485.4 MB, free: 15.41 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.0001125/0.1604, allocations: 133.9 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1604, allocations: 15.89 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.1605, allocations: 13.41 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1605, allocations: 0 / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1605, allocations: 384 / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1605, allocations: 7.938 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.1611, allocations: 403.2 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1611, allocations: 8.031 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.1611, allocations: 8 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1611, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.1612, allocations: 11.92 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1612, allocations: 3.984 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1612, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1614, allocations: 204.2 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.1615, allocations: 92.92 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1615, allocations: 7.938 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.1616, allocations: 0 / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.1617, allocations: 7.984 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1617, allocations: 8 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1619, allocations: 165.2 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1619, allocations: 0 / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1622, allocations: 23.98 kB / 486.5 MB, free: 14.21 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.001311/0.1635, allocations: 457.1 kB / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.1637, allocations: 59.91 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1638, allocations: 0 / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1639, allocations: 35.98 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1643, allocations: 30.92 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1649, allocations: 275.5 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1654, allocations: 0.7118 MB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.906e-05/0.1655, allocations: 12.89 kB / 488.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.1655, allocations: 19.42 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1655, allocations: 0 / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.005725/0.1713, allocations: 1.723 MB / 489.8 MB, free: 11.03 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches