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.00161/0.00161, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001838/0.001838, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.329/1.329, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9279/0.9279, allocations: 119.3 MB / 411.2 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.89 kB / 0.4909 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5427, allocations: 80.67 MB / 0.5697 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002502/0.5453, allocations: 1.476 MB / 0.5711 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.5463, allocations: 0.5933 MB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.5464, allocations: 5.094 kB / 0.5717 GB, free: 41.37 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.5467, allocations: 226.8 kB / 0.5719 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.547, allocations: 260.6 kB / 0.5722 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.5473, allocations: 56.48 kB / 0.5722 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004228/0.5477, allocations: 0.5939 MB / 0.5728 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.5478, allocations: 2.5 kB / 0.5728 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.5481, allocations: 307.7 kB / 0.5731 GB, free: 40.65 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.5485, allocations: 0.4951 MB / 0.5736 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.5487, allocations: 32.12 kB / 0.5736 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.5489, allocations: 110.5 kB / 0.5737 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.55, allocations: 1.25 MB / 0.5749 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.5505, allocations: 0.7236 MB / 0.5757 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0009614/0.5514, allocations: 1.19 MB / 0.5768 GB, free: 38.51 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5514, allocations: 1.75 kB / 0.5768 GB, free: 38.51 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.71e-07/0.5515, allocations: 0 / 0.5768 GB, free: 38.51 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.5515, allocations: 0 / 0.5768 GB, free: 38.51 MB / 462.3 MB 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.002534/0.554, allocations: 2.761 MB / 0.5795 GB, free: 36.35 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5541, allocations: 12.77 kB / 0.5795 GB, free: 36.35 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.5545, allocations: 289.4 kB / 0.5798 GB, free: 36.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004621/0.5591, allocations: 3.333 MB / 0.5831 GB, free: 34.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5592, allocations: 1.656 kB / 0.5831 GB, free: 34.14 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.5592, allocations: 10.47 kB / 0.5831 GB, free: 34.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.5594, allocations: 143.3 kB / 0.5832 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.5595, allocations: 0 / 0.5832 GB, free: 34.08 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.5595, allocations: 12.81 kB / 0.5832 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5595, allocations: 0 / 0.5832 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.5596, allocations: 72.89 kB / 0.5833 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.5608, allocations: 1.005 MB / 0.5843 GB, free: 33.4 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.5609, allocations: 73.17 kB / 0.5843 GB, free: 33.36 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.561, allocations: 64.55 kB / 0.5844 GB, free: 33.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.561, allocations: 0 / 0.5844 GB, free: 33.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.5613, allocations: 174.2 kB / 0.5846 GB, free: 33.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/0.5614, allocations: 5 kB / 0.5846 GB, free: 33.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001034/0.5624, allocations: 0.6633 MB / 0.5852 GB, free: 32.95 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5624, allocations: 79.3 kB / 0.5853 GB, free: 32.85 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.5655, allocations: 3.189 MB / 0.5884 GB, free: 30.55 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.5656, allocations: 33.7 kB / 0.5884 GB, free: 30.51 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.5663, allocations: 1.24 MB / 0.5897 GB, free: 29.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.5664, allocations: 23.81 kB / 0.5897 GB, free: 29.25 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.5665, allocations: 73.72 kB / 0.5897 GB, free: 29.17 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.5666, allocations: 314 kB / 0.59 GB, free: 28.86 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.5666, allocations: 48 kB / 0.5901 GB, free: 28.81 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.5667, allocations: 47.98 kB / 0.5901 GB, free: 28.76 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.5669, allocations: 164.3 kB / 0.5903 GB, free: 28.59 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5669, allocations: 0 / 0.5903 GB, free: 28.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005861/0.5675, allocations: 0.6127 MB / 0.5909 GB, free: 27.96 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/0.5675, allocations: 36.2 kB / 0.5909 GB, free: 27.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5675, allocations: 0 / 0.5909 GB, free: 27.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5676, allocations: 3.984 kB / 0.5909 GB, free: 27.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.5676, allocations: 4 kB / 0.5909 GB, free: 27.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5677, allocations: 0 / 0.5909 GB, free: 27.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.568, allocations: 23.94 kB / 0.591 GB, free: 27.89 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.5681, allocations: 112 kB / 0.5911 GB, free: 27.78 MB / 462.3 MB 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.0006872/0.5688, allocations: 0.7411 MB / 0.5918 GB, free: 27.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.569, allocations: 300.1 kB / 0.5921 GB, free: 26.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.5692, allocations: 333.8 kB / 0.5924 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5692, allocations: 0 / 0.5924 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5692, allocations: 0 / 0.5924 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5692, allocations: 0 / 0.5924 GB, free: 26.39 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/0.5701, allocations: 1.093 MB / 0.5935 GB, free: 25.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5701, allocations: 4 kB / 0.5935 GB, free: 25.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.5701, allocations: 12.02 kB / 0.5935 GB, free: 25.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5701, allocations: 7.875 kB / 0.5935 GB, free: 25.23 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.5702, allocations: 28 kB / 0.5935 GB, free: 25.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5702, allocations: 0 / 0.5935 GB, free: 25.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5702, allocations: 0 / 0.5935 GB, free: 25.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.5707, allocations: 0.673 MB / 0.5942 GB, free: 24.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.571, allocations: 333.3 kB / 0.5945 GB, free: 24.16 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.5711, allocations: 16 kB / 0.5945 GB, free: 24.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.5713, allocations: 8.188 kB / 0.5945 GB, free: 24.13 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5714, allocations: 15.92 kB / 0.5945 GB, free: 24.12 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.5715, allocations: 116 kB / 0.5946 GB, free: 24 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00193/0.5734, allocations: 2.203 MB / 0.5968 GB, free: 21.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5734, allocations: 0 / 0.5968 GB, free: 21.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003797/0.5738, allocations: 108 kB / 0.5969 GB, free: 21.71 MB / 462.3 MB 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.0001869/0.574, allocations: 137.4 kB / 0.597 GB, free: 21.57 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.5743, allocations: 211.4 kB / 0.5972 GB, free: 21.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5743, allocations: 0 / 0.5972 GB, free: 21.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.5744, allocations: 147.4 kB / 0.5974 GB, free: 21.2 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.5751, allocations: 225.3 kB / 0.5976 GB, free: 20.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.5796, allocations: 4.858 MB / 0.6023 GB, free: 16.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/0.5805, allocations: 1.687 MB / 0.604 GB, free: 14.36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5806, allocations: 135.4 kB / 0.6041 GB, free: 14.22 MB / 462.3 MB Notification: Performance of SimCode: time 1.052e-06/0.5807, allocations: 0 / 0.6041 GB, free: 14.22 MB / 462.3 MB Notification: Performance of Templates: time 0.08187/0.6625, allocations: 47.65 MB / 0.6506 GB, free: 14.5 MB / 0.4983 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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches