Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000888/0.0008881, allocations: 100.2 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009331/0.0009331, allocations: 197.4 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.19 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002469/0.000247, allocations: 12.22 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1526, allocations: 63.58 MB / 482.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002472/0.1552, allocations: 1.431 MB / 483.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.157, allocations: 0.944 MB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.1571, allocations: 0 / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.1575, allocations: 83.77 kB / 484.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.1578, allocations: 99.7 kB / 485 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.158, allocations: 63.86 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1582, allocations: 99.67 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1584, allocations: 19.98 kB / 485.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1585, allocations: 43.78 kB / 485.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1586, allocations: 63.69 kB / 485.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1587, allocations: 0 / 485.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1588, allocations: 55.97 kB / 485.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.1589, allocations: 15.92 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.1589, allocations: 45.64 kB / 485.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1592, allocations: 111.9 kB / 485.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1592, allocations: 4 kB / 485.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1592, allocations: 0 / 485.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1592, allocations: 0 / 485.5 MB, free: 1.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006579/0.1599, allocations: 414.9 kB / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1599, allocations: 8.031 kB / 485.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.16, allocations: 15.81 kB / 485.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1603, allocations: 220.4 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.1603, allocations: 4 kB / 486.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.1603, allocations: 3.906 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1605, allocations: 69.59 kB / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1606, allocations: 0 / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1606, allocations: 4 kB / 486.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1606, allocations: 4 kB / 486.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.1607, allocations: 19.98 kB / 486.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.1612, allocations: 300.8 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1614, allocations: 70.47 kB / 486.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.1615, allocations: 24.97 kB / 486.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1616, allocations: 0 / 486.6 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1618, allocations: 67.39 kB / 486.7 MB, free: 60 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1618, allocations: 3.938 kB / 486.7 MB, free: 56 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009171/0.1627, allocations: 253.5 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1628, allocations: 59.36 kB / 487 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1631, allocations: 234.1 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1631, allocations: 29.7 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.1632, allocations: 112.1 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1632, allocations: 35.61 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.1632, allocations: 0 / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1634, allocations: 326.8 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.1635, allocations: 35.92 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.1636, allocations: 41.7 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1637, allocations: 32 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1637, allocations: 0 / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002778/0.164, allocations: 129.2 kB / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.164, allocations: 8 kB / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.164, allocations: 0 / 488 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1641, allocations: 4.031 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1642, allocations: 31.92 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1642, allocations: 3.953 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.1643, allocations: 4 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.1643, allocations: 0 / 488 MB, free: 14.68 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.1644, allocations: 134.4 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.1645, allocations: 15.75 kB / 488.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.1645, allocations: 25.39 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1646, allocations: 8 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1646, allocations: 0 / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1646, allocations: 3.953 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.1652, allocations: 444.1 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.1653, allocations: 4 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1653, allocations: 19.92 kB / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1653, allocations: 0 / 488.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1654, allocations: 12.02 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1654, allocations: 0 / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1654, allocations: 3.938 kB / 488.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1657, allocations: 229 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.1658, allocations: 92.92 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1659, allocations: 8 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.166, allocations: 11.94 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1661, allocations: 8 kB / 489 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1661, allocations: 7.984 kB / 489 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1663, allocations: 172.4 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1663, allocations: 0 / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1667, allocations: 31.98 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/0.1683, allocations: 0.5055 MB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.1686, allocations: 75.91 kB / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1686, allocations: 0 / 489.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1687, allocations: 43.92 kB / 489.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/0.1692, allocations: 28.16 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.1698, allocations: 307.9 kB / 490.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1702, allocations: 0.72 MB / 490.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.22e-05/0.1703, allocations: 20.62 kB / 490.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1704, allocations: 19.42 kB / 490.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1704, allocations: 0 / 490.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Templates: time 0.006216/0.1766, allocations: 1.859 MB / 492.8 MB, free: 9.938 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches