Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 115.5 kB / 17.75 MB, free: 5.355 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.00161/0.00161, allocations: 185.2 kB / 18.67 MB, free: 4.441 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.318/1.318, allocations: 222.9 MB / 242.4 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 0.961/0.961, allocations: 119.3 MB / 411.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 58.8 kB / 0.5716 GB, free: 39.96 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1425, allocations: 80.7 MB / 0.6504 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.00232/0.1448, allocations: 1.41 MB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.1457, allocations: 0.5691 MB / 0.6523 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.1458, allocations: 0 / 0.6523 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1461, allocations: 231.6 kB / 0.6525 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1464, allocations: 267.5 kB / 0.6528 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.1467, allocations: 83.66 kB / 0.6529 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.1472, allocations: 0.6008 MB / 0.6534 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.1473, allocations: 11.88 kB / 0.6535 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.1476, allocations: 303.5 kB / 0.6537 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.1481, allocations: 0.5345 MB / 0.6543 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-05/0.1482, allocations: 36 kB / 0.6543 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.1484, allocations: 107.9 kB / 0.6544 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.1496, allocations: 1.255 MB / 0.6556 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.15, allocations: 0.7195 MB / 0.6563 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.1511, allocations: 1.628 MB / 0.6579 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1511, allocations: 0 / 0.6579 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1511, allocations: 0 / 0.6579 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.1512, allocations: 4 kB / 0.6579 GB, free: 5.391 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.002367/0.1535, allocations: 2.766 MB / 0.6606 GB, free: 2.551 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1536, allocations: 12.03 kB / 0.6606 GB, free: 2.539 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1538, allocations: 289.1 kB / 0.6609 GB, free: 2.254 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/0.1579, allocations: 3.311 MB / 0.6641 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1579, allocations: 8.312 kB / 0.6642 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.158, allocations: 8.375 kB / 0.6642 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1582, allocations: 153.9 kB / 0.6643 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1582, allocations: 0 / 0.6643 GB, free: 14.71 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1582, allocations: 12 kB / 0.6643 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1582, allocations: 0 / 0.6643 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1584, allocations: 75.98 kB / 0.6644 GB, free: 14.63 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008835/0.1593, allocations: 1.011 MB / 0.6654 GB, free: 13.57 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1594, allocations: 74.44 kB / 0.6655 GB, free: 13.49 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.1595, allocations: 60.86 kB / 0.6655 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.1595, allocations: 0 / 0.6655 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.1597, allocations: 185 kB / 0.6657 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.1597, allocations: 0 / 0.6657 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0007554/0.1605, allocations: 0.6481 MB / 0.6663 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1605, allocations: 81.05 kB / 0.6664 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.1636, allocations: 3.181 MB / 0.6695 GB, free: 9.309 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.1636, allocations: 37.7 kB / 0.6695 GB, free: 9.266 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009051/0.1645, allocations: 1.24 MB / 0.6708 GB, free: 8.023 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.1646, allocations: 31.8 kB / 0.6708 GB, free: 7.992 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1647, allocations: 77.7 kB / 0.6709 GB, free: 7.91 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.1648, allocations: 314 kB / 0.6712 GB, free: 7.598 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.1649, allocations: 47.98 kB / 0.6712 GB, free: 7.551 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.165, allocations: 48 kB / 0.6712 GB, free: 7.504 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1652, allocations: 168.3 kB / 0.6714 GB, free: 7.324 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1652, allocations: 0 / 0.6714 GB, free: 7.324 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005953/0.1658, allocations: 0.6127 MB / 0.672 GB, free: 6.695 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.1658, allocations: 37.69 kB / 0.672 GB, free: 6.652 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1658, allocations: 0 / 0.672 GB, free: 6.652 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1659, allocations: 4.141 kB / 0.672 GB, free: 6.648 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.1659, allocations: 8 kB / 0.6721 GB, free: 6.641 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.166, allocations: 0 / 0.6721 GB, free: 6.641 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.1662, allocations: 12 kB / 0.6721 GB, free: 6.629 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.1663, allocations: 116 kB / 0.6722 GB, free: 6.516 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.0007381/0.167, allocations: 0.7421 MB / 0.6729 GB, free: 5.758 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.1672, allocations: 304.1 kB / 0.6732 GB, free: 5.457 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1675, allocations: 333.8 kB / 0.6735 GB, free: 5.129 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1675, allocations: 0 / 0.6735 GB, free: 5.129 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1675, allocations: 0 / 0.6735 GB, free: 5.129 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1676, allocations: 7.938 kB / 0.6735 GB, free: 5.121 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009021/0.1685, allocations: 1.089 MB / 0.6746 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1685, allocations: 0 / 0.6746 GB, free: 3.988 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.1685, allocations: 7.938 kB / 0.6746 GB, free: 3.98 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1685, allocations: 0 / 0.6746 GB, free: 3.98 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.1685, allocations: 32 kB / 0.6746 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1686, allocations: 0 / 0.6746 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1686, allocations: 0 / 0.6746 GB, free: 3.949 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.1692, allocations: 0.6689 MB / 0.6753 GB, free: 3.254 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.1696, allocations: 341.2 kB / 0.6756 GB, free: 2.898 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.1697, allocations: 12 kB / 0.6756 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1699, allocations: 8 kB / 0.6756 GB, free: 2.879 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1699, allocations: 4 kB / 0.6756 GB, free: 2.875 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.17, allocations: 115.9 kB / 0.6757 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002302/0.1723, allocations: 2.207 MB / 0.6779 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1723, allocations: 0 / 0.6779 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003699/0.1727, allocations: 112 kB / 0.678 GB, free: 476 kB / 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.0002061/0.1729, allocations: 143.6 kB / 0.6781 GB, free: 324 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.1733, allocations: 207.4 kB / 0.6783 GB, free: 104 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1733, allocations: 0 / 0.6783 GB, free: 104 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1734, allocations: 143.4 kB / 0.6785 GB, free: 15.95 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.1741, allocations: 228.6 kB / 0.6787 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004712/0.1788, allocations: 4.286 MB / 0.6829 GB, free: 11.39 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.18, allocations: 1.699 MB / 0.6845 GB, free: 9.664 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.1802, allocations: 135.4 kB / 0.6847 GB, free: 9.531 MB / 0.5295 GB Notification: Performance of SimCode: time 8.12e-07/0.1802, allocations: 4 kB / 0.6847 GB, free: 9.527 MB / 0.5295 GB Notification: Performance of Templates: time 0.07996/0.2602, allocations: 47.96 MB / 0.7315 GB, free: 9.504 MB / 0.5764 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches