Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 105.7 kB / 17.06 MB, free: 6.027 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.001799/0.001799, allocations: 196.7 kB / 18 MB, free: 5.105 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.648/1.648, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.204/1.204, allocations: 119.3 MB / 411.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 61.06 kB / 0.5709 GB, free: 39.84 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2598, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.004197/0.2641, allocations: 1.573 MB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.2661, allocations: 0.8924 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.2662, allocations: 0 / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.01331/0.2796, allocations: 13.72 MB / 0.6655 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008189/0.2879, allocations: 6.934 MB / 0.6723 GB, free: 5.891 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.2887, allocations: 107.5 kB / 0.6724 GB, free: 5.789 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.02221/0.3109, allocations: 17.08 MB / 0.6891 GB, free: 4.688 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3111, allocations: 7.984 kB / 0.6891 GB, free: 4.68 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01929/0.3304, allocations: 8.47 MB / 0.6973 GB, free: 12.2 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03249/0.363, allocations: 16.16 MB / 0.7131 GB, free: 12.01 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.008615/0.3717, allocations: 0.9844 MB / 0.7141 GB, free: 11.03 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007179/0.3789, allocations: 1.012 MB / 0.7151 GB, free: 10.02 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.06586/0.4449, allocations: 39.81 MB / 0.754 GB, free: 2.098 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 1.084/1.529, allocations: 22.49 MB / 0.7759 GB, free: 62.86 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.08412/1.613, allocations: 49.41 MB / 0.8242 GB, free: 44.79 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/1.613, allocations: 0 / 0.8242 GB, free: 44.79 MB / 0.6079 GB Notification: Performance of FrontEnd: time 3.226e-06/1.613, allocations: 0 / 0.8242 GB, free: 44.79 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.003927/1.617, allocations: 0 / 0.8242 GB, free: 44.79 MB / 0.6079 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.2251/1.842, allocations: 77.14 MB / 0.8995 GB, free: 13.66 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/1.842, allocations: 11.89 kB / 0.8995 GB, free: 13.65 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02633/1.869, allocations: 8.803 MB / 0.9081 GB, free: 4.738 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3935/2.262, allocations: 103.1 MB / 1.009 GB, free: 13.04 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/2.262, allocations: 384 / 1.009 GB, free: 13.04 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/2.262, allocations: 4.562 kB / 1.009 GB, free: 13.03 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/2.262, allocations: 49.61 kB / 1.009 GB, free: 12.98 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/2.262, allocations: 0 / 1.009 GB, free: 12.98 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/2.262, allocations: 4 kB / 1.009 GB, free: 12.97 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/2.263, allocations: 3.469 kB / 1.009 GB, free: 12.97 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/2.263, allocations: 14.45 kB / 1.009 GB, free: 12.96 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0829/2.346, allocations: 27.31 MB / 1.036 GB, free: 1.578 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/2.346, allocations: 50.25 kB / 1.036 GB, free: 1.523 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/2.346, allocations: 20.84 kB / 1.036 GB, free: 1.5 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/2.346, allocations: 8 kB / 1.036 GB, free: 1.492 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/2.346, allocations: 67.08 kB / 1.036 GB, free: 1.418 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=5): time 3.337e-06/2.346, allocations: 0 / 1.036 GB, free: 1.418 MB / 0.7642 GB Notification: Performance of matching and sorting (n=5): time 0.02213/2.368, allocations: 9.126 MB / 1.045 GB, free: 8.172 MB / 0.7798 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/2.369, allocations: 52.16 kB / 1.045 GB, free: 8.109 MB / 0.7798 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8979/3.266, allocations: 101 MB / 1.143 GB, free: 205.4 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/3.267, allocations: 29.69 kB / 1.143 GB, free: 205.4 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06691/3.333, allocations: 49.01 MB / 1.191 GB, free: 162.1 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/3.334, allocations: 18.75 kB / 1.191 GB, free: 162.1 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/3.334, allocations: 25.67 kB / 1.191 GB, free: 162.1 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 6.693e-05/3.334, allocations: 306 kB / 1.191 GB, free: 161.8 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/3.334, allocations: 11.56 kB / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.598e-05/3.334, allocations: 29.02 kB / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/3.334, allocations: 49.95 kB / 1.192 GB, free: 161.7 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/3.334, allocations: 0 / 1.192 GB, free: 161.7 MB / 0.811 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01947/3.354, allocations: 9.11 MB / 1.2 GB, free: 161.5 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/3.354, allocations: 4 kB / 1.2 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/3.354, allocations: 3.281 kB / 1.2 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/3.354, allocations: 4.797 kB / 1.2 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/3.354, allocations: 15.45 kB / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/3.354, allocations: 0 / 1.201 GB, free: 161.5 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01764/3.372, allocations: 256 kB / 1.201 GB, free: 161.3 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/3.372, allocations: 5.25 kB / 1.201 GB, free: 161.2 MB / 0.811 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.03538/3.407, allocations: 18.67 MB / 1.219 GB, free: 142.6 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02783/3.435, allocations: 9.293 MB / 1.228 GB, free: 138.2 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03771/3.473, allocations: 10.23 MB / 1.238 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/3.473, allocations: 0 / 1.238 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/3.473, allocations: 2.344 kB / 1.238 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/3.473, allocations: 6.547 kB / 1.238 GB, free: 127.9 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09462/3.567, allocations: 29.99 MB / 1.267 GB, free: 97.84 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/3.567, allocations: 0 / 1.267 GB, free: 97.84 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/3.568, allocations: 4.875 kB / 1.267 GB, free: 97.84 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/3.568, allocations: 0 / 1.267 GB, free: 97.84 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/3.568, allocations: 3.938 kB / 1.267 GB, free: 97.84 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/3.568, allocations: 3.984 kB / 1.267 GB, free: 97.83 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/3.568, allocations: 0 / 1.267 GB, free: 97.83 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/3.592, allocations: 9.963 MB / 1.277 GB, free: 87.74 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0255/3.617, allocations: 6.93 MB / 1.284 GB, free: 80.68 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01774/3.635, allocations: 256.8 kB / 1.284 GB, free: 80.43 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0183/3.654, allocations: 252 kB / 1.284 GB, free: 80.18 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/3.654, allocations: 7.984 kB / 1.284 GB, free: 80.17 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/3.654, allocations: 0 / 1.284 GB, free: 80.17 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1759/3.83, allocations: 69.98 MB / 1.353 GB, free: 10.84 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.082e-06/3.83, allocations: 0 / 1.353 GB, free: 10.84 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01843/3.848, allocations: 2.453 MB / 1.355 GB, free: 8.383 MB / 0.811 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.001181/3.85, allocations: 413 kB / 1.355 GB, free: 8.188 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.0002684/3.85, allocations: 39.97 kB / 1.356 GB, free: 8.148 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.85, allocations: 0 / 1.356 GB, free: 8.148 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/3.85, allocations: 22.81 kB / 1.356 GB, free: 8.129 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05956/3.909, allocations: 6.767 MB / 1.362 GB, free: 1.363 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7997/4.709, allocations: 144 MB / 1.503 GB, free: 237 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0806/4.79, allocations: 34.4 MB / 1.536 GB, free: 203.8 MB / 0.8579 GB Notification: Performance of simCode: alias equations: time 0.067/4.857, allocations: 22.68 MB / 1.559 GB, free: 181.1 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02169/4.879, allocations: 8.798 MB / 1.567 GB, free: 172.3 MB / 0.8579 GB Notification: Performance of SimCode: time 1.673e-06/4.879, allocations: 4 kB / 1.567 GB, free: 172.3 MB / 0.8579 GB Notification: Performance of Templates: time 1.316/6.195, allocations: 263.2 MB / 1.824 GB, free: 195.2 MB / 0.8579 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches