Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 112 kB / 17.07 MB, free: 5.945 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.001274/0.001274, allocations: 196 kB / 18.01 MB, free: 5.035 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.246/1.246, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7959/0.7959, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 66.39 kB / 0.5709 GB, free: 39.81 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1206, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.00262/0.1233, allocations: 1.573 MB / 0.6512 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1247, allocations: 0.8924 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.1248, allocations: 0 / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.1255, allocations: 0.8926 MB / 0.653 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0006008/0.1261, allocations: 0.53 MB / 0.6535 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1264, allocations: 107.6 kB / 0.6536 GB, free: 9.062 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.1272, allocations: 1.162 MB / 0.6547 GB, free: 7.898 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1273, allocations: 11.97 kB / 0.6548 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.1278, allocations: 0.577 MB / 0.6553 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007502/0.1285, allocations: 1.045 MB / 0.6563 GB, free: 6.262 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1287, allocations: 68 kB / 0.6564 GB, free: 6.195 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.1289, allocations: 95.97 kB / 0.6565 GB, free: 6.102 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.131, allocations: 2.505 MB / 0.6589 GB, free: 3.59 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000919/0.1319, allocations: 1.431 MB / 0.6603 GB, free: 2.145 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.1341, allocations: 3.174 MB / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1341, allocations: 0 / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1341, allocations: 0 / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.1341, allocations: 0 / 0.6634 GB, free: 14.95 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.004891/0.139, allocations: 5.191 MB / 0.6685 GB, free: 9.672 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1391, allocations: 15.89 kB / 0.6685 GB, free: 9.656 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/0.1396, allocations: 0.556 MB / 0.6691 GB, free: 9.094 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008651/0.1482, allocations: 6.555 MB / 0.6755 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1483, allocations: 384 / 0.6755 GB, free: 2.457 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1483, allocations: 8.125 kB / 0.6755 GB, free: 2.449 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1484, allocations: 53.67 kB / 0.6755 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1485, allocations: 0 / 0.6755 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1485, allocations: 0 / 0.6755 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1485, allocations: 0 / 0.6755 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.1486, allocations: 23.92 kB / 0.6755 GB, free: 2.367 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1502, allocations: 1.851 MB / 0.6774 GB, free: 480 kB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1504, allocations: 54.62 kB / 0.6774 GB, free: 416 kB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1504, allocations: 24.78 kB / 0.6774 GB, free: 388 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1504, allocations: 0 / 0.6774 GB, free: 388 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.1506, allocations: 63.39 kB / 0.6775 GB, free: 312 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1506, allocations: 0 / 0.6775 GB, free: 312 kB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.000721/0.1513, allocations: 0.6582 MB / 0.6781 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1514, allocations: 55.41 kB / 0.6782 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006158/0.1575, allocations: 6.442 MB / 0.6845 GB, free: 9.168 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1576, allocations: 25.7 kB / 0.6845 GB, free: 9.137 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.1597, allocations: 2.668 MB / 0.6871 GB, free: 6.465 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1597, allocations: 15.83 kB / 0.6871 GB, free: 6.449 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1598, allocations: 21.72 kB / 0.6871 GB, free: 6.422 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/0.1599, allocations: 318 kB / 0.6874 GB, free: 6.105 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.1599, allocations: 8 kB / 0.6875 GB, free: 6.098 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.16, allocations: 33.69 kB / 0.6875 GB, free: 6.059 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.1601, allocations: 45.64 kB / 0.6875 GB, free: 6.008 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1601, allocations: 4 kB / 0.6875 GB, free: 6.004 MB / 0.5295 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005948/0.1607, allocations: 0.6465 MB / 0.6882 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1607, allocations: 4 kB / 0.6882 GB, free: 5.34 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1607, allocations: 4 kB / 0.6882 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1607, allocations: 0 / 0.6882 GB, free: 5.336 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.902e-05/0.1608, allocations: 11.98 kB / 0.6882 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1608, allocations: 0 / 0.6882 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.1612, allocations: 23.91 kB / 0.6882 GB, free: 5.301 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1612, allocations: 4.312 kB / 0.6882 GB, free: 5.297 MB / 0.5295 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.001234/0.1624, allocations: 1.291 MB / 0.6895 GB, free: 3.996 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.1629, allocations: 0.5902 MB / 0.69 GB, free: 3.398 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/0.1635, allocations: 0.652 MB / 0.6907 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.1635, allocations: 0 / 0.6907 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.1635, allocations: 0 / 0.6907 GB, free: 2.742 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1635, allocations: 3.984 kB / 0.6907 GB, free: 2.738 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.1652, allocations: 2.027 MB / 0.6927 GB, free: 0.6641 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1652, allocations: 0 / 0.6927 GB, free: 0.6641 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.1652, allocations: 7.984 kB / 0.6927 GB, free: 0.6562 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1652, allocations: 0 / 0.6927 GB, free: 0.6562 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1652, allocations: 11.94 kB / 0.6927 GB, free: 0.6445 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1652, allocations: 0 / 0.6927 GB, free: 0.6445 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1652, allocations: 0 / 0.6927 GB, free: 0.6445 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.1659, allocations: 0.7173 MB / 0.6934 GB, free: 15.9 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006621/0.1666, allocations: 0.5132 MB / 0.6939 GB, free: 15.36 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.1668, allocations: 19.98 kB / 0.6939 GB, free: 15.34 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.1671, allocations: 16 kB / 0.6939 GB, free: 15.33 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1671, allocations: 8 kB / 0.6939 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1671, allocations: 0 / 0.6939 GB, free: 15.32 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.004539/0.1717, allocations: 4.427 MB / 0.6983 GB, free: 10.93 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1717, allocations: 0 / 0.6983 GB, free: 10.93 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0004827/0.1722, allocations: 168 kB / 0.6984 GB, free: 10.77 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008202/0.173, allocations: 404 kB / 0.6988 GB, free: 10.52 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1732, allocations: 43.91 kB / 0.6988 GB, free: 10.48 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1732, allocations: 4.062 kB / 0.6988 GB, free: 10.48 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.1732, allocations: 19.98 kB / 0.6989 GB, free: 10.46 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.1743, allocations: 465.2 kB / 0.6993 GB, free: 10 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/0.1827, allocations: 8.408 MB / 0.7075 GB, free: 1.562 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.1849, allocations: 2.737 MB / 0.7102 GB, free: 14.8 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.002364/0.1872, allocations: 1.399 MB / 0.7116 GB, free: 13.39 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007857/0.188, allocations: 0.5694 MB / 0.7121 GB, free: 12.82 MB / 0.5608 GB Notification: Performance of SimCode: time 4.81e-07/0.188, allocations: 0 / 0.7121 GB, free: 12.82 MB / 0.5608 GB Notification: Performance of Templates: time 0.03755/0.2256, allocations: 15.62 MB / 0.7274 GB, free: 13.19 MB / 0.5764 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches