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.001991/0.001991, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.002978/0.002979, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.525/1.525, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.291/1.291, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6822, allocations: 80.69 MB / 0.5697 GB, free: 43.41 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.003119/0.6853, allocations: 1.573 MB / 0.5713 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.6866, allocations: 0.8932 MB / 0.5721 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.6867, allocations: 1.25 kB / 0.5721 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.008157/0.6949, allocations: 13.72 MB / 0.5855 GB, free: 33.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.6978, allocations: 6.919 MB / 0.5923 GB, free: 26.55 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.6982, allocations: 115.5 kB / 0.5924 GB, free: 26.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007817/0.706, allocations: 17.07 MB / 0.6091 GB, free: 9.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.7061, allocations: 7.984 kB / 0.6091 GB, free: 9.332 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009112/0.7152, allocations: 8.478 MB / 0.6174 GB, free: 0.8398 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02129/0.7366, allocations: 16.15 MB / 0.6331 GB, free: 0.6602 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005693/0.7423, allocations: 0.9844 MB / 0.6341 GB, free: 15.67 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005135/0.7475, allocations: 1.004 MB / 0.6351 GB, free: 14.67 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04954/0.797, allocations: 39.81 MB / 0.674 GB, free: 6.758 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.05044/0.8475, allocations: 22.49 MB / 0.6959 GB, free: 44 kB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.07311/0.9207, allocations: 48.43 MB / 0.7432 GB, free: 15.35 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.9208, allocations: 0 / 0.7432 GB, free: 15.35 MB / 0.592 GB Notification: Performance of FrontEnd: time 5.981e-06/0.9208, allocations: 3.984 kB / 0.7432 GB, free: 15.34 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002482/0.9233, allocations: 3.938 kB / 0.7432 GB, free: 15.34 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.8511/1.774, allocations: 77.13 MB / 0.8185 GB, free: 86.86 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/1.774, allocations: 19.42 kB / 0.8186 GB, free: 86.84 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/1.79, allocations: 8.794 MB / 0.8272 GB, free: 77.93 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3462/2.136, allocations: 103.1 MB / 0.9278 GB, free: 6.262 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/2.136, allocations: 4.375 kB / 0.9278 GB, free: 6.258 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/2.136, allocations: 5.125 kB / 0.9278 GB, free: 6.254 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/2.137, allocations: 46.33 kB / 0.9279 GB, free: 6.203 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/2.137, allocations: 0 / 0.9279 GB, free: 6.203 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/2.137, allocations: 3.938 kB / 0.9279 GB, free: 6.199 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/2.137, allocations: 5.031 kB / 0.9279 GB, free: 6.195 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.944e-05/2.137, allocations: 16.5 kB / 0.9279 GB, free: 6.18 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06244/2.199, allocations: 27.31 MB / 0.9546 GB, free: 10.8 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/2.2, allocations: 54.61 kB / 0.9546 GB, free: 10.74 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/2.2, allocations: 16.86 kB / 0.9546 GB, free: 10.72 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/2.2, allocations: 3.281 kB / 0.9546 GB, free: 10.72 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/2.2, allocations: 64.14 kB / 0.9547 GB, free: 10.64 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=5): time 2.555e-06/2.2, allocations: 3.391 kB / 0.9547 GB, free: 10.64 MB / 0.6548 GB Notification: Performance of matching and sorting (n=5): time 0.01958/2.22, allocations: 9.139 MB / 0.9636 GB, free: 1.383 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/2.22, allocations: 55.03 kB / 0.9637 GB, free: 1.32 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7339/2.954, allocations: 101 MB / 1.062 GB, free: 179.1 MB / 0.7173 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/2.954, allocations: 27.39 kB / 1.062 GB, free: 179 MB / 0.7173 GB Notification: Performance of collectInitialEqns (initialization): time 0.07016/3.024, allocations: 49.01 MB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/3.024, allocations: 14.7 kB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/3.024, allocations: 22.52 kB / 1.11 GB, free: 138.7 MB / 0.7173 GB Notification: Performance of setup shared object (initialization): time 7.672e-05/3.024, allocations: 310 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/3.025, allocations: 16.25 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/3.025, allocations: 27.83 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/3.025, allocations: 45.86 kB / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/3.025, allocations: 0 / 1.111 GB, free: 138.4 MB / 0.7173 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02248/3.047, allocations: 9.108 MB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/3.047, allocations: 10.56 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/3.047, allocations: 0 / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/3.047, allocations: 1.781 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/3.048, allocations: 17.3 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/3.048, allocations: 0 / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02762/3.075, allocations: 265.6 kB / 1.12 GB, free: 138.3 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/3.075, allocations: 0 / 1.12 GB, free: 138.3 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.03814/3.114, allocations: 18.68 MB / 1.138 GB, free: 133 MB / 0.7173 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02199/3.136, allocations: 9.282 MB / 1.147 GB, free: 133 MB / 0.7173 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0338/3.169, allocations: 10.24 MB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/3.169, allocations: 0.5625 kB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/3.169, allocations: 0 / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/3.169, allocations: 0.7188 kB / 1.157 GB, free: 128.6 MB / 0.7173 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09095/3.26, allocations: 29.99 MB / 1.186 GB, free: 100.7 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/3.26, allocations: 1.219 kB / 1.186 GB, free: 100.7 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/3.261, allocations: 4 kB / 1.186 GB, free: 100.7 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/3.261, allocations: 3.281 kB / 1.186 GB, free: 100.7 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/3.261, allocations: 11.44 kB / 1.186 GB, free: 100.7 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/3.261, allocations: 3.984 kB / 1.186 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/3.261, allocations: 0.5625 kB / 1.186 GB, free: 100.6 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02483/3.285, allocations: 9.961 MB / 1.196 GB, free: 90.55 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02512/3.311, allocations: 6.923 MB / 1.203 GB, free: 83.49 MB / 0.7173 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01898/3.33, allocations: 259.6 kB / 1.203 GB, free: 83.24 MB / 0.7173 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02332/3.353, allocations: 253.5 kB / 1.203 GB, free: 83 MB / 0.7173 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/3.353, allocations: 7.984 kB / 1.203 GB, free: 82.99 MB / 0.7173 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/3.353, allocations: 3.938 kB / 1.203 GB, free: 82.98 MB / 0.7173 GB Notification: Performance of sorting global known variables: time 0.1629/3.516, allocations: 69.99 MB / 1.272 GB, free: 13.64 MB / 0.7173 GB Notification: Performance of sort global known variables: time 9.42e-07/3.516, allocations: 0 / 1.272 GB, free: 13.64 MB / 0.7173 GB Notification: Performance of remove unused functions: time 0.01727/3.534, allocations: 2.454 MB / 1.274 GB, free: 11.19 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.00116/3.535, allocations: 415.9 kB / 1.275 GB, free: 10.98 MB / 0.7173 GB Notification: Performance of simCode: created initialization part: time 0.0002734/3.535, allocations: 46.91 kB / 1.275 GB, free: 10.93 MB / 0.7173 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/3.535, allocations: 0 / 1.275 GB, free: 10.93 MB / 0.7173 GB Notification: Performance of simCode: created simulation system equations: time 6.801e-05/3.535, allocations: 20 kB / 1.275 GB, free: 10.91 MB / 0.7173 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06691/3.602, allocations: 6.766 MB / 1.281 GB, free: 4.145 MB / 0.7173 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8127/4.415, allocations: 146 MB / 1.424 GB, free: 191.2 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06949/4.484, allocations: 34.39 MB / 1.457 GB, free: 156.9 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.08147/4.566, allocations: 22.76 MB / 1.48 GB, free: 134.1 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03198/4.598, allocations: 8.806 MB / 1.488 GB, free: 125.3 MB / 0.7485 GB Notification: Performance of SimCode: time 2.144e-06/4.598, allocations: 0 / 1.488 GB, free: 125.3 MB / 0.7485 GB Notification: Performance of Templates: time 1.224/5.822, allocations: 250.9 MB / 1.733 GB, free: 138.1 MB / 0.7485 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