Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 115 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 200 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.07/1.07, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 66.09 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 80.7 MB / 0.6497 GB, free: 13.08 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002208/0.1448, allocations: 1.406 MB / 0.6511 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.1457, allocations: 0.5652 MB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.1458, allocations: 0 / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.146, allocations: 127.7 kB / 0.6518 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.1463, allocations: 163.7 kB / 0.6519 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1466, allocations: 83.77 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.1469, allocations: 341.5 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.147, allocations: 4 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1472, allocations: 165.7 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.1475, allocations: 287.7 kB / 0.6528 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.1475, allocations: 20 kB / 0.6528 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1477, allocations: 99.84 kB / 0.6529 GB, free: 9.828 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006314/0.1483, allocations: 0.6293 MB / 0.6535 GB, free: 9.199 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.1486, allocations: 380.3 kB / 0.6538 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.1492, allocations: 0.8588 MB / 0.6547 GB, free: 7.961 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1492, allocations: 0 / 0.6547 GB, free: 7.961 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1492, allocations: 0 / 0.6547 GB, free: 7.961 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1493, allocations: 0 / 0.6547 GB, free: 7.961 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001449/0.1507, allocations: 1.565 MB / 0.6562 GB, free: 6.332 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1508, allocations: 12.03 kB / 0.6562 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.1509, allocations: 151 kB / 0.6564 GB, free: 6.172 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.153, allocations: 1.749 MB / 0.6581 GB, free: 4.375 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.153, allocations: 384 / 0.6581 GB, free: 4.375 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1531, allocations: 8.375 kB / 0.6581 GB, free: 4.367 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1532, allocations: 97.89 kB / 0.6582 GB, free: 4.266 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1532, allocations: 0 / 0.6582 GB, free: 4.266 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.1533, allocations: 8 kB / 0.6582 GB, free: 4.258 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1533, allocations: 0 / 0.6582 GB, free: 4.258 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.678e-05/0.1534, allocations: 47.98 kB / 0.6582 GB, free: 4.211 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.1539, allocations: 0.589 MB / 0.6588 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.154, allocations: 54.58 kB / 0.6589 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.259e-05/0.154, allocations: 48.83 kB / 0.6589 GB, free: 3.461 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1541, allocations: 0 / 0.6589 GB, free: 3.461 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.1542, allocations: 141.1 kB / 0.659 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 4.428e-06/0.1542, allocations: 3.984 kB / 0.659 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0004973/0.1547, allocations: 409.4 kB / 0.6594 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1548, allocations: 81.11 kB / 0.6595 GB, free: 2.789 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.1563, allocations: 1.64 MB / 0.6611 GB, free: 1.152 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1564, allocations: 29.7 kB / 0.6611 GB, free: 1.117 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.1568, allocations: 0.6295 MB / 0.6618 GB, free: 496 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.1569, allocations: 23.66 kB / 0.6618 GB, free: 472 kB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-05/0.157, allocations: 49.7 kB / 0.6618 GB, free: 416 kB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.1571, allocations: 314 kB / 0.6621 GB, free: 96 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.1571, allocations: 31.98 kB / 0.6622 GB, free: 64 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.773e-05/0.1572, allocations: 35.94 kB / 0.6622 GB, free: 28 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1573, allocations: 132.3 kB / 0.6623 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1574, allocations: 0 / 0.6623 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003728/0.1577, allocations: 381.2 kB / 0.6627 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.1578, allocations: 40.34 kB / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1578, allocations: 0 / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1578, allocations: 0 / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.1579, allocations: 4 kB / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1579, allocations: 4 kB / 0.6627 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.158, allocations: 8 kB / 0.6627 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.1581, allocations: 56 kB / 0.6628 GB, free: 15.38 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0004166/0.1585, allocations: 456.1 kB / 0.6632 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1586, allocations: 158 kB / 0.6634 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.1588, allocations: 170.8 kB / 0.6635 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1588, allocations: 0 / 0.6635 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1588, allocations: 0 / 0.6635 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.1588, allocations: 0 / 0.6635 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.1593, allocations: 0.632 MB / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1593, allocations: 0 / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.1594, allocations: 11.88 kB / 0.6642 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1594, allocations: 0 / 0.6642 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.1594, allocations: 19.94 kB / 0.6642 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1594, allocations: 0 / 0.6642 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1594, allocations: 0 / 0.6642 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.1598, allocations: 425.8 kB / 0.6646 GB, free: 13.44 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.16, allocations: 219.1 kB / 0.6648 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.1601, allocations: 12 kB / 0.6648 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1602, allocations: 8 kB / 0.6648 GB, free: 13.19 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.1603, allocations: 4 kB / 0.6648 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.1603, allocations: 64 kB / 0.6649 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001142/0.1615, allocations: 1.143 MB / 0.666 GB, free: 11.99 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1615, allocations: 0 / 0.666 GB, free: 11.99 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002825/0.1617, allocations: 68 kB / 0.6661 GB, free: 11.92 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001715/0.1619, allocations: 139.5 kB / 0.6662 GB, free: 11.78 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.1622, allocations: 175.4 kB / 0.6664 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1622, allocations: 0 / 0.6664 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1623, allocations: 127.4 kB / 0.6665 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1627, allocations: 122.3 kB / 0.6666 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.165, allocations: 2.097 MB / 0.6686 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.1657, allocations: 1.191 MB / 0.6698 GB, free: 7.992 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0005594/0.1663, allocations: 305.8 kB / 0.6701 GB, free: 7.688 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.1664, allocations: 71.44 kB / 0.6702 GB, free: 7.617 MB / 0.5139 GB Notification: Performance of SimCode: time 2.3e-07/0.1664, allocations: 0 / 0.6702 GB, free: 7.617 MB / 0.5139 GB Notification: Performance of Templates: time 0.01306/0.1795, allocations: 5.736 MB / 0.6758 GB, free: 1.793 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches