Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001288/0.001288, allocations: 104.7 kB / 16.62 MB, free: 6.809 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.001506/0.001506, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.413/1.413, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.167/1.167, allocations: 119.3 MB / 410.7 MB, free: 9.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.4904 GB, free: 14.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6476/0.6491, allocations: 80.68 MB / 0.5692 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.004241/0.6534, allocations: 1.639 MB / 0.5708 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.6552, allocations: 0.8618 MB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.6553, allocations: 9.312 kB / 0.5717 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.6653, allocations: 13.72 MB / 0.5851 GB, free: 33.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.6684, allocations: 6.923 MB / 0.5918 GB, free: 26.65 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.6689, allocations: 91.77 kB / 0.5919 GB, free: 26.56 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008417/0.6773, allocations: 17.07 MB / 0.6086 GB, free: 9.465 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.6774, allocations: 4 kB / 0.6086 GB, free: 9.461 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009621/0.6871, allocations: 8.485 MB / 0.6169 GB, free: 0.9609 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0182/0.7053, allocations: 16.15 MB / 0.6327 GB, free: 0.7852 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003664/0.709, allocations: 0.9805 MB / 0.6336 GB, free: 15.8 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.7114, allocations: 1.016 MB / 0.6346 GB, free: 14.79 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04112/0.7525, allocations: 39.82 MB / 0.6735 GB, free: 6.863 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04272/0.7953, allocations: 22.49 MB / 0.6954 GB, free: 156 kB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.06365/0.859, allocations: 48.42 MB / 0.7427 GB, free: 15.46 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.8591, allocations: 4 kB / 0.7427 GB, free: 15.46 MB / 0.592 GB Notification: Performance of FrontEnd: time 4.028e-06/0.8591, allocations: 0 / 0.7427 GB, free: 15.46 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002793/0.8619, allocations: 3.938 kB / 0.7427 GB, free: 15.45 MB / 0.592 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.8916/1.754, allocations: 77.13 MB / 0.8181 GB, free: 86.88 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/1.754, allocations: 15.89 kB / 0.8181 GB, free: 86.87 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/1.77, allocations: 8.799 MB / 0.8267 GB, free: 77.95 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3809/2.151, allocations: 103.1 MB / 0.9273 GB, free: 6.289 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/2.151, allocations: 4.375 kB / 0.9273 GB, free: 6.285 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/2.151, allocations: 1.125 kB / 0.9273 GB, free: 6.285 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/2.151, allocations: 49.22 kB / 0.9274 GB, free: 6.234 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/2.151, allocations: 0 / 0.9274 GB, free: 6.234 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/2.151, allocations: 7.922 kB / 0.9274 GB, free: 6.227 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/2.151, allocations: 0 / 0.9274 GB, free: 6.227 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/2.151, allocations: 15.09 kB / 0.9274 GB, free: 6.215 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07029/2.221, allocations: 27.31 MB / 0.9541 GB, free: 10.83 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/2.222, allocations: 55.47 kB / 0.9541 GB, free: 10.77 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/2.222, allocations: 16.86 kB / 0.9541 GB, free: 10.75 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/2.222, allocations: 0 / 0.9541 GB, free: 10.75 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/2.222, allocations: 67.23 kB / 0.9542 GB, free: 10.68 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=5): time 1.874e-06/2.222, allocations: 3.391 kB / 0.9542 GB, free: 10.68 MB / 0.6548 GB Notification: Performance of matching and sorting (n=5): time 0.02353/2.246, allocations: 9.136 MB / 0.9631 GB, free: 1.422 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/2.246, allocations: 51.41 kB / 0.9632 GB, free: 1.359 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.732/2.978, allocations: 101 MB / 1.062 GB, free: 179.1 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/2.978, allocations: 25.7 kB / 1.062 GB, free: 179.1 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.0589/3.037, allocations: 49.01 MB / 1.11 GB, free: 138.8 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/3.037, allocations: 15.64 kB / 1.11 GB, free: 138.8 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/3.037, allocations: 19.09 kB / 1.11 GB, free: 138.8 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/3.037, allocations: 318.9 kB / 1.11 GB, free: 138.5 MB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/3.037, allocations: 12.72 kB / 1.11 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/3.038, allocations: 25.86 kB / 1.11 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/3.038, allocations: 43.58 kB / 1.11 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/3.038, allocations: 3.844 kB / 1.11 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02351/3.061, allocations: 9.108 MB / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/3.061, allocations: 9.594 kB / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/3.061, allocations: 3.875 kB / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/3.061, allocations: 4.219 kB / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/3.061, allocations: 14 kB / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/3.061, allocations: 0 / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0186/3.08, allocations: 255.8 kB / 1.119 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/3.08, allocations: 6.938 kB / 1.119 GB, free: 138.4 MB / 0.7173 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.02774/3.108, allocations: 18.68 MB / 1.138 GB, free: 133 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0201/3.128, allocations: 9.287 MB / 1.147 GB, free: 133 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03346/3.161, allocations: 10.22 MB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/3.161, allocations: 3.938 kB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/3.161, allocations: 0 / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/3.162, allocations: 3.938 kB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07801/3.24, allocations: 30 MB / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/3.24, allocations: 7.75 kB / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/3.24, allocations: 0 / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/3.24, allocations: 10 kB / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/3.24, allocations: 3.984 kB / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/3.24, allocations: 3.938 kB / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/3.24, allocations: 0 / 1.186 GB, free: 100.8 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/3.263, allocations: 9.965 MB / 1.196 GB, free: 90.66 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0244/3.287, allocations: 6.922 MB / 1.202 GB, free: 83.61 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01453/3.302, allocations: 252 kB / 1.203 GB, free: 83.36 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01822/3.32, allocations: 263.9 kB / 1.203 GB, free: 83.11 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/3.32, allocations: 0 / 1.203 GB, free: 83.11 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/3.32, allocations: 4 kB / 1.203 GB, free: 83.1 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.1447/3.465, allocations: 69.98 MB / 1.271 GB, free: 13.76 MB / 0.7173 GB Notification: Performance of sort global known variables: time 6.31e-07/3.465, allocations: 0 / 1.271 GB, free: 13.76 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.01719/3.482, allocations: 2.456 MB / 1.274 GB, free: 11.31 MB / 0.7173 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.001085/3.483, allocations: 413.4 kB / 1.274 GB, free: 11.09 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.0002909/3.484, allocations: 39.92 kB / 1.274 GB, free: 11.05 MB / 0.7173 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/3.484, allocations: 0 / 1.274 GB, free: 11.05 MB / 0.7173 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/3.484, allocations: 19 kB / 1.274 GB, free: 11.03 MB / 0.7173 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05675/3.541, allocations: 6.776 MB / 1.281 GB, free: 4.258 MB / 0.7173 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6759/4.216, allocations: 161.6 MB / 1.439 GB, free: 178.8 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07092/4.287, allocations: 34.39 MB / 1.472 GB, free: 144.3 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.07749/4.365, allocations: 22.77 MB / 1.494 GB, free: 121.5 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02431/4.389, allocations: 8.802 MB / 1.503 GB, free: 112.7 MB / 0.7485 GB Notification: Performance of SimCode: time 1.893e-06/4.389, allocations: 0 / 1.503 GB, free: 112.7 MB / 0.7485 GB Notification: Performance of Templates: time 1.174/5.563, allocations: 250.9 MB / 1.748 GB, free: 127.1 MB / 0.7485 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches