Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001529/0.001528, allocations: 187 kB / 18.63 MB, free: 4.512 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.42/1.42, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.172/1.172, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.89 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7433, allocations: 80.68 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003528/0.7469, allocations: 1.406 MB / 0.5725 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.7482, allocations: 0.5705 MB / 0.5731 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.7482, allocations: 4 kB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.7497, allocations: 1.72 MB / 0.5748 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.7513, allocations: 1.762 MB / 0.5765 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.7518, allocations: 76.67 kB / 0.5766 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006018/0.7578, allocations: 4.311 MB / 0.5808 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.758, allocations: 6.688 kB / 0.5808 GB, free: 38.05 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00676/0.7647, allocations: 2.142 MB / 0.5829 GB, free: 37.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008253/0.773, allocations: 4.061 MB / 0.5868 GB, free: 33.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.7745, allocations: 252 kB / 0.5871 GB, free: 33.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009204/0.7754, allocations: 327.9 kB / 0.5874 GB, free: 32.88 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.009395/0.7848, allocations: 9.962 MB / 0.5971 GB, free: 22.89 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.008552/0.7934, allocations: 5.636 MB / 0.6026 GB, free: 17.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.8055, allocations: 12.41 MB / 0.6148 GB, free: 4.73 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.8056, allocations: 3.938 kB / 0.6148 GB, free: 4.727 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8056, allocations: 0 / 0.6148 GB, free: 4.727 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0004846/0.8061, allocations: 0 / 0.6148 GB, free: 4.727 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.03152/0.8376, allocations: 19.56 MB / 0.6339 GB, free: 0.9375 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.8377, allocations: 8.031 kB / 0.6339 GB, free: 0.9297 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.8423, allocations: 2.206 MB / 0.636 GB, free: 14.69 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06762/0.9099, allocations: 25.83 MB / 0.6612 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.91, allocations: 384 / 0.6612 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004347/0.9104, allocations: 64.38 kB / 0.6613 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.9121, allocations: 0.7903 MB / 0.6621 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.9121, allocations: 0 / 0.6621 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.9123, allocations: 64 kB / 0.6621 GB, free: 3.75 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.9124, allocations: 0 / 0.6621 GB, free: 3.75 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.9131, allocations: 459.9 kB / 0.6626 GB, free: 3.301 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02321/0.9363, allocations: 6.996 MB / 0.6694 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.9383, allocations: 294.5 kB / 0.6697 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.94, allocations: 284.8 kB / 0.67 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.94, allocations: 0 / 0.67 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002255/0.9423, allocations: 0.7035 MB / 0.6706 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 4.569e-06/0.9424, allocations: 4 kB / 0.6707 GB, free: 10.95 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.01023/0.9526, allocations: 4.239 MB / 0.6748 GB, free: 6.668 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.9527, allocations: 77.11 kB / 0.6749 GB, free: 6.574 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05913/1.012, allocations: 24.84 MB / 0.6991 GB, free: 13.94 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.0005799/1.013, allocations: 89.7 kB / 0.6992 GB, free: 13.85 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.01772/1.03, allocations: 10.82 MB / 0.7098 GB, free: 3.02 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009151/1.031, allocations: 83.8 kB / 0.7099 GB, free: 2.938 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/1.033, allocations: 453.7 kB / 0.7103 GB, free: 2.488 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.033, allocations: 314 kB / 0.7106 GB, free: 2.176 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.035, allocations: 268 kB / 0.7108 GB, free: 1.914 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/1.036, allocations: 264 kB / 0.7111 GB, free: 1.656 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/1.037, allocations: 0.5901 MB / 0.7117 GB, free: 1.051 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.037, allocations: 0 / 0.7117 GB, free: 1.051 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.007687/1.045, allocations: 3.978 MB / 0.7156 GB, free: 13.03 MB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/1.045, allocations: 37.64 kB / 0.7156 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.045, allocations: 0 / 0.7156 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.045, allocations: 0 / 0.7156 GB, free: 12.99 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.045, allocations: 8 kB / 0.7156 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.045, allocations: 4.234 kB / 0.7156 GB, free: 12.98 MB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00464/1.05, allocations: 71.94 kB / 0.7157 GB, free: 12.91 MB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001541/1.051, allocations: 0.8594 MB / 0.7165 GB, free: 12.05 MB / 0.5608 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.01228/1.064, allocations: 4.908 MB / 0.7213 GB, free: 7.121 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005106/1.069, allocations: 2.271 MB / 0.7235 GB, free: 4.82 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007448/1.076, allocations: 2.565 MB / 0.726 GB, free: 2.246 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.076, allocations: 3.938 kB / 0.726 GB, free: 2.242 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.076, allocations: 0 / 0.726 GB, free: 2.242 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/1.076, allocations: 0 / 0.726 GB, free: 2.242 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/1.103, allocations: 7.621 MB / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/1.103, allocations: 0 / 0.7335 GB, free: 10.57 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/1.103, allocations: 3.938 kB / 0.7335 GB, free: 10.56 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/1.103, allocations: 0 / 0.7335 GB, free: 10.56 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00075/1.104, allocations: 192 kB / 0.7337 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.104, allocations: 0 / 0.7337 GB, free: 10.38 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.104, allocations: 3.984 kB / 0.7337 GB, free: 10.37 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008629/1.112, allocations: 4.17 MB / 0.7377 GB, free: 6.152 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00881/1.121, allocations: 1.987 MB / 0.7397 GB, free: 4.117 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003037/1.124, allocations: 68 kB / 0.7397 GB, free: 4.051 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003469/1.128, allocations: 64 kB / 0.7398 GB, free: 3.988 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/1.128, allocations: 4 kB / 0.7398 GB, free: 3.984 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00146/1.129, allocations: 0.8555 MB / 0.7406 GB, free: 3.129 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.04158/1.171, allocations: 17.25 MB / 0.7575 GB, free: 2.031 MB / 0.592 GB Notification: Performance of sort global known variables: time 1.142e-06/1.171, allocations: 0 / 0.7575 GB, free: 2.031 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003929/1.175, allocations: 0.6367 MB / 0.7581 GB, free: 1.395 MB / 0.592 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004937/1.175, allocations: 195 kB / 0.7583 GB, free: 1.199 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.177, allocations: 0.683 MB / 0.759 GB, free: 0.5039 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.177, allocations: 0 / 0.759 GB, free: 0.5039 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/1.178, allocations: 423.4 kB / 0.7594 GB, free: 80 kB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6031/1.781, allocations: 1.696 MB / 0.761 GB, free: 162 MB / 0.5923 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07965/1.86, allocations: 34.62 MB / 0.7948 GB, free: 143.3 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01952/1.88, allocations: 8.913 MB / 0.8035 GB, free: 134.3 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01272/1.893, allocations: 4.698 MB / 0.8081 GB, free: 129.6 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003005/1.896, allocations: 0.9877 MB / 0.8091 GB, free: 128.7 MB / 0.5923 GB Notification: Performance of SimCode: time 3.777e-06/1.896, allocations: 0 / 0.8091 GB, free: 128.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.2223/2.118, allocations: 82.69 MB / 0.8898 GB, free: 45.8 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches