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.001374/0.001374, allocations: 109.3 kB / 17.06 MB, free: 6.098 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.001792/0.001792, allocations: 200.1 kB / 18 MB, free: 5.172 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.498/1.498, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.099/1.099, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 62.28 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1783, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.002894/0.1812, allocations: 1.569 MB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1828, allocations: 0.8808 MB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1829, allocations: 7.938 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.009692/0.1926, allocations: 13.72 MB / 0.6655 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.004956/0.1977, allocations: 6.927 MB / 0.6723 GB, free: 5.895 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1982, allocations: 101.9 kB / 0.6724 GB, free: 5.797 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01356/0.2118, allocations: 17.07 MB / 0.689 GB, free: 4.699 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.212, allocations: 11.97 kB / 0.6891 GB, free: 4.688 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.225, allocations: 8.481 MB / 0.6973 GB, free: 12.19 MB / 0.5452 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02092/0.246, allocations: 16.15 MB / 0.7131 GB, free: 12.02 MB / 0.5608 GB Notification: Performance of NFPackage.collectConstants: time 0.004395/0.2504, allocations: 0.9843 MB / 0.7141 GB, free: 11.04 MB / 0.5608 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004571/0.255, allocations: 1.016 MB / 0.7151 GB, free: 10.02 MB / 0.5608 GB Notification: Performance of NFScalarize.scalarize: time 0.04754/0.3026, allocations: 39.82 MB / 0.7539 GB, free: 2.098 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.8323/1.135, allocations: 22.48 MB / 0.7759 GB, free: 62.96 MB / 0.6079 GB Notification: Performance of NFConvertDAE.convert: time 0.07122/1.206, allocations: 49.41 MB / 0.8241 GB, free: 44.89 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/1.206, allocations: 3.781 kB / 0.8241 GB, free: 44.89 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.314e-06/1.206, allocations: 0 / 0.8241 GB, free: 44.89 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.00359/1.21, allocations: 0 / 0.8241 GB, free: 44.89 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.1445/1.354, allocations: 77.14 MB / 0.8995 GB, free: 13.83 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.355, allocations: 15.89 kB / 0.8995 GB, free: 13.82 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02047/1.375, allocations: 8.805 MB / 0.9081 GB, free: 4.902 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4083/1.783, allocations: 103.1 MB / 1.009 GB, free: 13.2 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/1.783, allocations: 8.312 kB / 1.009 GB, free: 13.2 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/1.784, allocations: 0.5625 kB / 1.009 GB, free: 13.2 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/1.784, allocations: 53.62 kB / 1.009 GB, free: 13.14 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.784, allocations: 0 / 1.009 GB, free: 13.14 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/1.784, allocations: 3.984 kB / 1.009 GB, free: 13.13 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.784, allocations: 0 / 1.009 GB, free: 13.13 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/1.784, allocations: 15.78 kB / 1.009 GB, free: 13.12 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.081/1.865, allocations: 27.31 MB / 1.035 GB, free: 1.742 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/1.865, allocations: 56.58 kB / 1.036 GB, free: 1.68 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.192e-05/1.865, allocations: 16.86 kB / 1.036 GB, free: 1.66 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/1.865, allocations: 0 / 1.036 GB, free: 1.66 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/1.866, allocations: 68.83 kB / 1.036 GB, free: 1.586 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/1.866, allocations: 0 / 1.036 GB, free: 1.586 MB / 0.7642 GB Notification: Performance of matching and sorting (n=5): time 0.02208/1.888, allocations: 9.128 MB / 1.045 GB, free: 8.336 MB / 0.7798 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/1.888, allocations: 51.41 kB / 1.045 GB, free: 8.273 MB / 0.7798 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7606/2.648, allocations: 101 MB / 1.143 GB, free: 205.5 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/2.648, allocations: 25.7 kB / 1.143 GB, free: 205.5 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06602/2.714, allocations: 49.01 MB / 1.191 GB, free: 162.2 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/2.715, allocations: 15.22 kB / 1.191 GB, free: 162.2 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/2.715, allocations: 20.75 kB / 1.191 GB, free: 162.2 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/2.715, allocations: 313.7 kB / 1.191 GB, free: 161.9 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/2.715, allocations: 11.56 kB / 1.191 GB, free: 161.9 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/2.715, allocations: 26.2 kB / 1.192 GB, free: 161.9 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/2.715, allocations: 48.3 kB / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/2.715, allocations: 0 / 1.192 GB, free: 161.8 MB / 0.811 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.01804/2.733, allocations: 9.121 MB / 1.2 GB, free: 161.8 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/2.733, allocations: 5.344 kB / 1.2 GB, free: 161.8 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/2.733, allocations: 0 / 1.2 GB, free: 161.8 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/2.733, allocations: 1.312 kB / 1.2 GB, free: 161.8 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/2.733, allocations: 10.19 kB / 1.2 GB, free: 161.8 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/2.733, allocations: 1.344 kB / 1.2 GB, free: 161.8 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01629/2.75, allocations: 259.1 kB / 1.201 GB, free: 161.6 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/2.75, allocations: 1.219 kB / 1.201 GB, free: 161.6 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.03201/2.782, allocations: 18.68 MB / 1.219 GB, free: 142.9 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01695/2.799, allocations: 9.293 MB / 1.228 GB, free: 138.5 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0328/2.832, allocations: 10.23 MB / 1.238 GB, free: 128.3 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/2.832, allocations: 4.547 kB / 1.238 GB, free: 128.3 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.832, allocations: 0 / 1.238 GB, free: 128.3 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/2.832, allocations: 1.125 kB / 1.238 GB, free: 128.3 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09471/2.926, allocations: 29.99 MB / 1.267 GB, free: 98.19 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/2.927, allocations: 0.875 kB / 1.267 GB, free: 98.19 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/2.927, allocations: 4.656 kB / 1.267 GB, free: 98.18 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/2.927, allocations: 0.875 kB / 1.267 GB, free: 98.18 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/2.927, allocations: 7.938 kB / 1.267 GB, free: 98.18 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/2.927, allocations: 0 / 1.267 GB, free: 98.18 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.927, allocations: 2.781 kB / 1.267 GB, free: 98.18 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/2.948, allocations: 9.957 MB / 1.277 GB, free: 88.09 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02116/2.97, allocations: 6.93 MB / 1.284 GB, free: 81.02 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01426/2.984, allocations: 256.6 kB / 1.284 GB, free: 80.77 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01683/3.001, allocations: 252.9 kB / 1.284 GB, free: 80.53 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/3.001, allocations: 1.312 kB / 1.284 GB, free: 80.53 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/3.001, allocations: 7.984 kB / 1.284 GB, free: 80.52 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1744/3.175, allocations: 69.99 MB / 1.353 GB, free: 11.18 MB / 0.811 GB Notification: Performance of sort global known variables: time 1.293e-06/3.176, allocations: 0 / 1.353 GB, free: 11.18 MB / 0.811 GB Notification: Performance of remove unused functions: time 0.02179/3.197, allocations: 2.458 MB / 1.355 GB, free: 8.727 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.199, allocations: 417.2 kB / 1.355 GB, free: 8.535 MB / 0.811 GB Notification: Performance of simCode: created initialization part: time 0.0002733/3.199, allocations: 43.98 kB / 1.356 GB, free: 8.492 MB / 0.811 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/3.199, allocations: 0 / 1.356 GB, free: 8.492 MB / 0.811 GB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/3.199, allocations: 29.58 kB / 1.356 GB, free: 8.469 MB / 0.811 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05583/3.255, allocations: 6.767 MB / 1.362 GB, free: 1.703 MB / 0.811 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7894/4.044, allocations: 144 MB / 1.503 GB, free: 237.6 MB / 0.8579 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08561/4.13, allocations: 34.4 MB / 1.536 GB, free: 204.1 MB / 0.8579 GB Notification: Performance of simCode: alias equations: time 0.07017/4.2, allocations: 22.68 MB / 1.559 GB, free: 181.5 MB / 0.8579 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02426/4.224, allocations: 8.798 MB / 1.567 GB, free: 172.7 MB / 0.8579 GB Notification: Performance of SimCode: time 1.593e-06/4.224, allocations: 4 kB / 1.567 GB, free: 172.7 MB / 0.8579 GB Notification: Performance of Templates: time 1.198/5.422, allocations: 251 MB / 1.812 GB, free: 203.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins/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