Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007343/0.0007344, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008871/0.0008872, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002443/0.1492, allocations: 1.536 MB / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1517, allocations: 1.655 MB / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.1518, allocations: 0 / 486.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1521, allocations: 39.81 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.1524, allocations: 119.5 kB / 486.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1526, allocations: 83.84 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1529, allocations: 195.4 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.1529, allocations: 17.69 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1531, allocations: 79.56 kB / 486.8 MB, free: 448 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1533, allocations: 83.55 kB / 486.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1533, allocations: 4 kB / 486.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1535, allocations: 99.94 kB / 487 MB, free: 260 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.1536, allocations: 35.77 kB / 487 MB, free: 224 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.1537, allocations: 81.31 kB / 487.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.154, allocations: 219.6 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.154, allocations: 4 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.154, allocations: 0 / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.154, allocations: 4 kB / 487.3 MB, free: 15.91 MB / 366.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.000666/0.1547, allocations: 470.7 kB / 487.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1548, allocations: 8.875 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1548, allocations: 20.73 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1551, allocations: 252.9 kB / 488 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1552, allocations: 4.375 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1552, allocations: 4.125 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.1554, allocations: 109 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1555, allocations: 0 / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1555, allocations: 0 / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1555, allocations: 4 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1556, allocations: 35.95 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.1559, allocations: 214.5 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1561, allocations: 109.2 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.1562, allocations: 45.64 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1563, allocations: 3.938 kB / 488.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/0.1565, allocations: 117 kB / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.1566, allocations: 0 / 488.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004503/0.157, allocations: 165.8 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.134e-05/0.1571, allocations: 132.5 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.1574, allocations: 237.6 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1574, allocations: 29.7 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.1575, allocations: 120.1 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.1575, allocations: 31.55 kB / 489.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1576, allocations: 17.72 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1577, allocations: 330.8 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.1578, allocations: 27.98 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1579, allocations: 76.7 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.1581, allocations: 83.41 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1581, allocations: 0 / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002545/0.1584, allocations: 145.4 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1584, allocations: 7.938 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1584, allocations: 0 / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1584, allocations: 4 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1586, allocations: 19.98 kB / 490.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1586, allocations: 4 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.1587, allocations: 11.84 kB / 490.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1587, allocations: 11.98 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001288/0.1588, allocations: 142.3 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.1589, allocations: 15.81 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.1589, allocations: 24.97 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1589, allocations: 0 / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1589, allocations: 0 / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1589, allocations: 4 kB / 490.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.1591, allocations: 229.5 kB / 490.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1592, allocations: 0 / 490.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1592, allocations: 8.188 kB / 490.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1592, allocations: 0 / 490.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1592, allocations: 8 kB / 490.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1592, allocations: 4 kB / 490.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1592, allocations: 3.938 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.1595, allocations: 177.6 kB / 490.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.1596, allocations: 104.8 kB / 490.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1597, allocations: 4 kB / 490.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.1598, allocations: 15.98 kB / 490.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.1598, allocations: 7.984 kB / 490.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1598, allocations: 4 kB / 490.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.16, allocations: 176.5 kB / 491 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.16, allocations: 4 kB / 491 MB, free: 11.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.1604, allocations: 51.98 kB / 491.1 MB, free: 11.75 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001304/0.1617, allocations: 0.4896 MB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.1619, allocations: 79.97 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1619, allocations: 8 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.162, allocations: 39.92 kB / 491.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1624, allocations: 56.56 kB / 491.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.163, allocations: 315 kB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1633, allocations: 0.7167 MB / 492.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1634, allocations: 38.02 kB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.1634, allocations: 31.36 kB / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1635, allocations: 0 / 492.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of Templates: time 0.006403/0.1699, allocations: 2.994 MB / 495.8 MB, free: 7.117 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches