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.001483/0.001483, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.001726/0.001726, allocations: 198.8 kB / 18.01 MB, free: 5.066 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.442/1.442, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.209/1.209, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 61.62 kB / 0.5709 GB, free: 39.85 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.179, allocations: 80.7 MB / 0.6497 GB, free: 13.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.002944/0.182, allocations: 1.581 MB / 0.6513 GB, free: 11.5 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1834, allocations: 0.8846 MB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.1835, allocations: 7.938 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.008517/0.1921, allocations: 13.72 MB / 0.6655 GB, free: 12.85 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.197, allocations: 6.931 MB / 0.6723 GB, free: 5.906 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1976, allocations: 103.6 kB / 0.6724 GB, free: 5.809 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0137/0.2114, allocations: 17.07 MB / 0.6891 GB, free: 4.711 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.2115, allocations: 11.98 kB / 0.6891 GB, free: 4.699 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.2236, allocations: 8.474 MB / 0.6973 GB, free: 12.21 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01905/0.2427, allocations: 16.15 MB / 0.7131 GB, free: 12.03 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.00507/0.2478, allocations: 0.9805 MB / 0.7141 GB, free: 11.05 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.2525, allocations: 1.008 MB / 0.7151 GB, free: 10.04 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.04174/0.2943, allocations: 39.81 MB / 0.7539 GB, free: 2.129 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.7784/1.073, allocations: 22.49 MB / 0.7759 GB, free: 62.88 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.06993/1.143, allocations: 49.9 MB / 0.8246 GB, free: 44.26 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.143, allocations: 0 / 0.8246 GB, free: 44.26 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.014e-06/1.143, allocations: 0 / 0.8246 GB, free: 44.26 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.004358/1.147, allocations: 0 / 0.8246 GB, free: 44.26 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.1404/1.288, allocations: 80.57 MB / 0.9033 GB, free: 9.723 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/1.288, allocations: 11.89 kB / 0.9033 GB, free: 9.711 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/1.305, allocations: 9.285 MB / 0.9124 GB, free: 372 kB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3865/1.691, allocations: 104.5 MB / 1.014 GB, free: 7.359 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/1.691, allocations: 384 / 1.014 GB, free: 7.359 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/1.691, allocations: 3.375 kB / 1.014 GB, free: 7.359 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/1.691, allocations: 49.67 kB / 1.015 GB, free: 7.305 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.691, allocations: 0 / 1.015 GB, free: 7.305 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.691, allocations: 0 / 1.015 GB, free: 7.305 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.691, allocations: 0 / 1.015 GB, free: 7.305 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/1.692, allocations: 21.58 kB / 1.015 GB, free: 7.289 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0877/1.779, allocations: 27.32 MB / 1.041 GB, free: 11.9 MB / 0.7798 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/1.78, allocations: 55.17 kB / 1.041 GB, free: 11.84 MB / 0.7798 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.93e-05/1.78, allocations: 22.81 kB / 1.041 GB, free: 11.82 MB / 0.7798 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/1.78, allocations: 3.531 kB / 1.041 GB, free: 11.82 MB / 0.7798 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/1.78, allocations: 63.39 kB / 1.041 GB, free: 11.74 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=5): time 3.036e-06/1.78, allocations: 0 / 1.041 GB, free: 11.74 MB / 0.7798 GB Notification: Performance of matching and sorting (n=5): time 0.0274/1.807, allocations: 9.61 MB / 1.051 GB, free: 2.066 MB / 0.7798 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.808, allocations: 59.41 kB / 1.051 GB, free: 1.996 MB / 0.7798 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7036/2.511, allocations: 101 MB / 1.149 GB, free: 205.9 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/2.511, allocations: 33.69 kB / 1.149 GB, free: 205.9 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06459/2.576, allocations: 49.01 MB / 1.197 GB, free: 159 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 9.447e-05/2.576, allocations: 11.56 kB / 1.197 GB, free: 159 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/2.576, allocations: 29.53 kB / 1.197 GB, free: 158.9 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/2.576, allocations: 309 kB / 1.198 GB, free: 158.6 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/2.576, allocations: 15.62 kB / 1.198 GB, free: 158.6 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/2.576, allocations: 29.7 kB / 1.198 GB, free: 158.6 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.702e-05/2.577, allocations: 48.55 kB / 1.198 GB, free: 158.5 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/2.577, allocations: 0 / 1.198 GB, free: 158.5 MB / 0.811 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01722/2.594, allocations: 9.602 MB / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/2.594, allocations: 8.875 kB / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/2.594, allocations: 0 / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/2.594, allocations: 0 / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/2.594, allocations: 18.7 kB / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/2.594, allocations: 0.5625 kB / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01544/2.609, allocations: 257.9 kB / 1.207 GB, free: 154 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/2.61, allocations: 1.656 kB / 1.207 GB, free: 154 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.0366/2.646, allocations: 18.68 MB / 1.226 GB, free: 135.3 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01885/2.665, allocations: 9.778 MB / 1.235 GB, free: 130.9 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0303/2.695, allocations: 10.23 MB / 1.245 GB, free: 120.7 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/2.695, allocations: 4.031 kB / 1.245 GB, free: 120.7 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/2.695, allocations: 0 / 1.245 GB, free: 120.7 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.695, allocations: 1.5 kB / 1.245 GB, free: 120.7 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07249/2.768, allocations: 30 MB / 1.275 GB, free: 90.62 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/2.768, allocations: 0.6562 kB / 1.275 GB, free: 90.62 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/2.768, allocations: 8.781 kB / 1.275 GB, free: 90.62 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/2.768, allocations: 3.531 kB / 1.275 GB, free: 90.62 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/2.768, allocations: 1.75 kB / 1.275 GB, free: 90.62 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/2.768, allocations: 3.984 kB / 1.275 GB, free: 90.61 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.768, allocations: 0.75 kB / 1.275 GB, free: 90.61 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02159/2.79, allocations: 10.45 MB / 1.285 GB, free: 80.09 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01743/2.807, allocations: 7.418 MB / 1.292 GB, free: 72.59 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01174/2.819, allocations: 252 kB / 1.292 GB, free: 72.35 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01192/2.831, allocations: 255.7 kB / 1.292 GB, free: 72.1 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/2.831, allocations: 5.062 kB / 1.292 GB, free: 72.1 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/2.831, allocations: 4 kB / 1.292 GB, free: 72.09 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1407/2.972, allocations: 69.98 MB / 1.361 GB, free: 2.758 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.383e-06/2.972, allocations: 3.281 kB / 1.361 GB, free: 2.758 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.01228/2.984, allocations: 2.464 MB / 1.363 GB, free: 308 kB / 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.001059/2.985, allocations: 396.4 kB / 1.364 GB, free: 116 kB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.0002371/2.985, allocations: 44.59 kB / 1.364 GB, free: 72 kB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.985, allocations: 4 kB / 1.364 GB, free: 68 kB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/2.985, allocations: 15.56 kB / 1.364 GB, free: 56 kB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04573/3.031, allocations: 6.777 MB / 1.37 GB, free: 9.281 MB / 0.8267 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7514/3.783, allocations: 146.4 MB / 1.513 GB, free: 229.1 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07812/3.861, allocations: 34.4 MB / 1.547 GB, free: 195.6 MB / 0.8579 GB Notification: Performance of simCode: alias equations: time 0.06/3.921, allocations: 22.68 MB / 1.569 GB, free: 172.9 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01648/3.937, allocations: 8.802 MB / 1.578 GB, free: 164.1 MB / 0.8579 GB Notification: Performance of SimCode: time 1.282e-06/3.937, allocations: 3.828 kB / 1.578 GB, free: 164.1 MB / 0.8579 GB Notification: Performance of Templates: time 1.143/5.081, allocations: 251 MB / 1.823 GB, free: 199.8 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