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.001056/0.001055, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.0009893/0.0009893, allocations: 200 kB / 18.01 MB, free: 5.055 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.202/1.202, allocations: 119.3 MB / 411.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.16 kB / 0.5709 GB, free: 39.66 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1918, allocations: 80.71 MB / 0.6497 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.003853/0.1958, allocations: 1.569 MB / 0.6512 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1974, allocations: 0.8885 MB / 0.6521 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1976, allocations: 4 kB / 0.6521 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.009859/0.2074, allocations: 13.71 MB / 0.6655 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.2125, allocations: 6.934 MB / 0.6723 GB, free: 5.785 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.2129, allocations: 103.7 kB / 0.6724 GB, free: 5.684 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01334/0.2263, allocations: 17.07 MB / 0.6891 GB, free: 4.59 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.2264, allocations: 15.97 kB / 0.6891 GB, free: 4.574 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/0.2387, allocations: 8.474 MB / 0.6973 GB, free: 12.09 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02198/0.2607, allocations: 16.15 MB / 0.7131 GB, free: 11.91 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.005181/0.266, allocations: 0.9843 MB / 0.7141 GB, free: 10.93 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006006/0.272, allocations: 1.008 MB / 0.7151 GB, free: 9.918 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.04277/0.3148, allocations: 39.82 MB / 0.7539 GB, free: 1.992 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.8307/1.146, allocations: 22.49 MB / 0.7759 GB, free: 62.89 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.07254/1.218, allocations: 49.41 MB / 0.8242 GB, free: 44.75 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/1.218, allocations: 0 / 0.8242 GB, free: 44.75 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.896e-06/1.218, allocations: 3.938 kB / 0.8242 GB, free: 44.75 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.00349/1.222, allocations: 3.625 kB / 0.8242 GB, free: 44.75 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.1517/1.373, allocations: 77.13 MB / 0.8995 GB, free: 13.74 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.373, allocations: 11.89 kB / 0.8995 GB, free: 13.73 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/1.392, allocations: 8.8 MB / 0.9081 GB, free: 4.812 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3839/1.775, allocations: 103.1 MB / 1.009 GB, free: 13.11 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/1.776, allocations: 384 / 1.009 GB, free: 13.11 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/1.776, allocations: 4.562 kB / 1.009 GB, free: 13.1 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/1.776, allocations: 54.22 kB / 1.009 GB, free: 13.05 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.776, allocations: 0 / 1.009 GB, free: 13.05 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.776, allocations: 0 / 1.009 GB, free: 13.05 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.776, allocations: 6.812 kB / 1.009 GB, free: 13.04 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/1.776, allocations: 12 kB / 1.009 GB, free: 13.03 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07223/1.848, allocations: 27.31 MB / 1.035 GB, free: 1.652 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/1.848, allocations: 58.27 kB / 1.036 GB, free: 1.594 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/1.849, allocations: 17.98 kB / 1.036 GB, free: 1.574 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/1.849, allocations: 4 kB / 1.036 GB, free: 1.57 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/1.849, allocations: 72.77 kB / 1.036 GB, free: 1.488 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=5): time 3.316e-06/1.849, allocations: 0 / 1.036 GB, free: 1.488 MB / 0.7642 GB Notification: Performance of matching and sorting (n=5): time 0.02215/1.871, allocations: 9.129 MB / 1.045 GB, free: 8.238 MB / 0.7798 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.871, allocations: 52.94 kB / 1.045 GB, free: 8.176 MB / 0.7798 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6978/2.569, allocations: 101 MB / 1.143 GB, free: 205.6 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/2.569, allocations: 25.7 kB / 1.143 GB, free: 205.5 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06497/2.634, allocations: 49.01 MB / 1.191 GB, free: 162.3 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/2.634, allocations: 15 kB / 1.191 GB, free: 162.3 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/2.634, allocations: 19.02 kB / 1.191 GB, free: 162.3 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/2.634, allocations: 313.8 kB / 1.191 GB, free: 162 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/2.635, allocations: 15.48 kB / 1.191 GB, free: 162 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-05/2.635, allocations: 27.53 kB / 1.192 GB, free: 161.9 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/2.635, allocations: 45.45 kB / 1.192 GB, free: 161.9 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.635, allocations: 0 / 1.192 GB, free: 161.9 MB / 0.811 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01899/2.654, allocations: 9.116 MB / 1.2 GB, free: 161.7 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/2.654, allocations: 4 kB / 1.2 GB, free: 161.7 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/2.654, allocations: 2.188 kB / 1.2 GB, free: 161.7 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/2.654, allocations: 3.656 kB / 1.2 GB, free: 161.7 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/2.654, allocations: 18.8 kB / 1.2 GB, free: 161.7 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/2.654, allocations: 0 / 1.2 GB, free: 161.7 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0147/2.669, allocations: 256 kB / 1.201 GB, free: 161.4 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/2.669, allocations: 0.5625 kB / 1.201 GB, free: 161.4 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.0316/2.7, allocations: 18.68 MB / 1.219 GB, free: 142.7 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01747/2.718, allocations: 9.288 MB / 1.228 GB, free: 138.3 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02979/2.748, allocations: 10.23 MB / 1.238 GB, free: 128.1 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/2.748, allocations: 3.812 kB / 1.238 GB, free: 128.1 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/2.748, allocations: 0 / 1.238 GB, free: 128.1 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/2.748, allocations: 1.406 kB / 1.238 GB, free: 128.1 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0815/2.829, allocations: 29.99 MB / 1.267 GB, free: 98.03 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/2.829, allocations: 1.125 kB / 1.267 GB, free: 98.03 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/2.829, allocations: 4 kB / 1.267 GB, free: 98.03 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/2.829, allocations: 0 / 1.267 GB, free: 98.03 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/2.829, allocations: 10.17 kB / 1.267 GB, free: 98.02 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/2.829, allocations: 0 / 1.267 GB, free: 98.02 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/2.829, allocations: 0 / 1.267 GB, free: 98.02 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/2.847, allocations: 9.97 MB / 1.277 GB, free: 87.92 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02375/2.871, allocations: 6.919 MB / 1.284 GB, free: 80.87 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009743/2.88, allocations: 259.9 kB / 1.284 GB, free: 80.61 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009302/2.89, allocations: 256 kB / 1.284 GB, free: 80.36 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/2.89, allocations: 0 / 1.284 GB, free: 80.36 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/2.89, allocations: 7.906 kB / 1.284 GB, free: 80.36 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1311/3.021, allocations: 69.98 MB / 1.353 GB, free: 11.02 MB / 0.811 GB Notification: Performance of sort global known variables: time 2.214e-06/3.021, allocations: 1.594 kB / 1.353 GB, free: 11.02 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01187/3.033, allocations: 2.456 MB / 1.355 GB, free: 8.57 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.001007/3.034, allocations: 409.3 kB / 1.355 GB, free: 8.375 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.0002131/3.034, allocations: 40.73 kB / 1.356 GB, free: 8.34 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/3.034, allocations: 4 kB / 1.356 GB, free: 8.336 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/3.034, allocations: 15.02 kB / 1.356 GB, free: 8.324 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03925/3.074, allocations: 6.78 MB / 1.362 GB, free: 1.543 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6783/3.752, allocations: 144 MB / 1.503 GB, free: 237.2 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06818/3.82, allocations: 34.4 MB / 1.536 GB, free: 203.8 MB / 0.8579 GB Notification: Performance of simCode: alias equations: time 0.05792/3.878, allocations: 22.68 MB / 1.558 GB, free: 181.1 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01454/3.893, allocations: 8.814 MB / 1.567 GB, free: 172.3 MB / 0.8579 GB Notification: Performance of SimCode: time 1.113e-06/3.893, allocations: 0 / 1.567 GB, free: 172.3 MB / 0.8579 GB Notification: Performance of Templates: time 1.246/5.139, allocations: 263.2 MB / 1.824 GB, free: 195.7 MB / 0.8579 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches