Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001157/0.001157, allocations: 114.8 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.001054/0.001054, allocations: 184.5 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.314/1.314, allocations: 222.9 MB / 242.4 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.8776/0.8776, allocations: 119.3 MB / 411.9 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 58.84 kB / 0.5716 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 80.69 MB / 0.6504 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002822/0.1442, allocations: 1.417 MB / 0.6518 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1452, allocations: 0.5652 MB / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.1453, allocations: 0 / 0.6523 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.1456, allocations: 231.6 kB / 0.6525 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003804/0.146, allocations: 271.5 kB / 0.6528 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1463, allocations: 87.77 kB / 0.6529 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004857/0.1468, allocations: 0.5969 MB / 0.6535 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1468, allocations: 7.938 kB / 0.6535 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.1471, allocations: 307.5 kB / 0.6538 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004589/0.1476, allocations: 0.5267 MB / 0.6543 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.573e-05/0.1477, allocations: 36 kB / 0.6543 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1479, allocations: 103.9 kB / 0.6544 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.1491, allocations: 1.262 MB / 0.6556 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.1495, allocations: 0.7195 MB / 0.6563 GB, free: 6.918 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.1507, allocations: 1.628 MB / 0.6579 GB, free: 5.281 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1507, allocations: 4 kB / 0.6579 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1507, allocations: 0 / 0.6579 GB, free: 5.277 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.1507, allocations: 0 / 0.6579 GB, free: 5.277 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.002498/0.1532, allocations: 2.766 MB / 0.6606 GB, free: 2.438 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1533, allocations: 8.031 kB / 0.6606 GB, free: 2.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.1535, allocations: 289.1 kB / 0.6609 GB, free: 2.145 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.1576, allocations: 3.322 MB / 0.6642 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1577, allocations: 384 / 0.6642 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1577, allocations: 12.38 kB / 0.6642 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1579, allocations: 153.8 kB / 0.6643 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1579, allocations: 0 / 0.6643 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.158, allocations: 8 kB / 0.6643 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.158, allocations: 0 / 0.6643 GB, free: 14.59 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1581, allocations: 75.98 kB / 0.6644 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.159, allocations: 1.007 MB / 0.6654 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1591, allocations: 74.56 kB / 0.6655 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.18e-05/0.1592, allocations: 60.8 kB / 0.6655 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1593, allocations: 4 kB / 0.6655 GB, free: 13.32 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1595, allocations: 180.9 kB / 0.6657 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/0.1595, allocations: 3.984 kB / 0.6657 GB, free: 13.12 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0007918/0.1603, allocations: 0.6481 MB / 0.6663 GB, free: 12.45 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1604, allocations: 81.11 kB / 0.6664 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.1634, allocations: 3.181 MB / 0.6695 GB, free: 9.195 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1634, allocations: 33.7 kB / 0.6695 GB, free: 9.156 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009408/0.1643, allocations: 1.244 MB / 0.6708 GB, free: 7.91 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.1644, allocations: 35.8 kB / 0.6708 GB, free: 7.875 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.1645, allocations: 77.7 kB / 0.6709 GB, free: 7.793 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.1646, allocations: 310 kB / 0.6712 GB, free: 7.484 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.1647, allocations: 47.94 kB / 0.6712 GB, free: 7.438 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.1648, allocations: 47.98 kB / 0.6713 GB, free: 7.391 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.165, allocations: 172.3 kB / 0.6714 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.165, allocations: 0 / 0.6714 GB, free: 7.207 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005997/0.1656, allocations: 0.6127 MB / 0.672 GB, free: 6.578 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.1656, allocations: 37.69 kB / 0.6721 GB, free: 6.535 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1656, allocations: 0 / 0.6721 GB, free: 6.535 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1657, allocations: 0 / 0.6721 GB, free: 6.535 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1657, allocations: 8 kB / 0.6721 GB, free: 6.527 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1658, allocations: 0 / 0.6721 GB, free: 6.527 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.166, allocations: 12 kB / 0.6721 GB, free: 6.516 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/0.1661, allocations: 112 kB / 0.6722 GB, free: 6.406 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.0007285/0.1668, allocations: 0.7421 MB / 0.6729 GB, free: 5.648 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.167, allocations: 304.1 kB / 0.6732 GB, free: 5.348 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1673, allocations: 333.8 kB / 0.6735 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1673, allocations: 0 / 0.6735 GB, free: 5.02 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1673, allocations: 4 kB / 0.6735 GB, free: 5.016 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1673, allocations: 3.984 kB / 0.6735 GB, free: 5.012 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000855/0.1682, allocations: 1.093 MB / 0.6746 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1682, allocations: 0 / 0.6746 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.1682, allocations: 3.938 kB / 0.6746 GB, free: 3.871 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1682, allocations: 4 kB / 0.6746 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.1683, allocations: 24 kB / 0.6746 GB, free: 3.844 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1683, allocations: 4 kB / 0.6746 GB, free: 3.84 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1683, allocations: 3.938 kB / 0.6746 GB, free: 3.836 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.1689, allocations: 0.665 MB / 0.6753 GB, free: 3.145 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.1692, allocations: 337.2 kB / 0.6756 GB, free: 2.793 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.1694, allocations: 12 kB / 0.6756 GB, free: 2.781 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.1696, allocations: 15.98 kB / 0.6756 GB, free: 2.766 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1696, allocations: 4 kB / 0.6756 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.1697, allocations: 115.9 kB / 0.6757 GB, free: 2.648 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002258/0.172, allocations: 2.207 MB / 0.6779 GB, free: 472 kB / 0.5139 GB Notification: Performance of sort global known variables: time 1.8e-07/0.172, allocations: 0 / 0.6779 GB, free: 472 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003564/0.1723, allocations: 116 kB / 0.678 GB, free: 356 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.000194/0.1725, allocations: 135.6 kB / 0.6781 GB, free: 216 kB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1729, allocations: 211.4 kB / 0.6783 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1729, allocations: 0 / 0.6783 GB, free: 15.99 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.173, allocations: 151.3 kB / 0.6785 GB, free: 15.83 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1737, allocations: 224.7 kB / 0.6787 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.1781, allocations: 4.29 MB / 0.6829 GB, free: 11.28 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.1793, allocations: 1.691 MB / 0.6845 GB, free: 9.555 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.1794, allocations: 131.4 kB / 0.6847 GB, free: 9.426 MB / 0.5295 GB Notification: Performance of SimCode: time 5.81e-07/0.1794, allocations: 0 / 0.6847 GB, free: 9.426 MB / 0.5295 GB Notification: Performance of Templates: time 0.07804/0.2574, allocations: 47.96 MB / 0.7315 GB, free: 9.391 MB / 0.5764 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches