Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.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_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001772, allocations: 105.8 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.001938/0.001938, 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.653/1.653, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.307/1.307, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 67.89 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7418, allocations: 80.69 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000): time 0.003428/0.7453, allocations: 1.576 MB / 0.5713 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.7468, allocations: 0.8943 MB / 0.5721 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.7469, allocations: 1.438 kB / 0.5721 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005467/0.7524, allocations: 6.876 MB / 0.5789 GB, free: 37.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.7556, allocations: 3.509 MB / 0.5823 GB, free: 36.17 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004575/0.7561, allocations: 103.7 kB / 0.5824 GB, free: 36.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.007137/0.7632, allocations: 8.596 MB / 0.5908 GB, free: 28.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.7633, allocations: 4 kB / 0.5908 GB, free: 28.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006596/0.7699, allocations: 4.262 MB / 0.5949 GB, free: 23.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.781, allocations: 8.104 MB / 0.6029 GB, free: 15.7 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.003297/0.7843, allocations: 0.4922 MB / 0.6033 GB, free: 15.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.7873, allocations: 0.5156 MB / 0.6038 GB, free: 14.69 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0214/0.8087, allocations: 19.91 MB / 0.6233 GB, free: 10.73 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02358/0.8324, allocations: 11.26 MB / 0.6343 GB, free: 15.35 MB / 494.3 MB Notification: Performance of NFConvertDAE.convert: time 0.03576/0.8682, allocations: 24.27 MB / 0.658 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.8682, allocations: 0 / 0.658 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.176e-06/0.8683, allocations: 0 / 0.658 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00151/0.8698, allocations: 0 / 0.658 GB, free: 6.953 MB / 0.4983 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.07463/0.9444, allocations: 38.76 MB / 0.6958 GB, free: 15.79 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 7.701e-05/0.9445, allocations: 11.89 kB / 0.6959 GB, free: 15.78 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009947/0.9545, allocations: 4.403 MB / 0.7002 GB, free: 11.32 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1589/1.113, allocations: 51.6 MB / 0.7505 GB, free: 7.371 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/1.114, allocations: 384 / 0.7505 GB, free: 7.371 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/1.114, allocations: 8.125 kB / 0.7506 GB, free: 7.363 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/1.114, allocations: 53.61 kB / 0.7506 GB, free: 7.305 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.114, allocations: 0 / 0.7506 GB, free: 7.305 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.114, allocations: 0 / 0.7506 GB, free: 7.305 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/1.114, allocations: 0 / 0.7506 GB, free: 7.305 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/1.114, allocations: 15.98 kB / 0.7506 GB, free: 7.289 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.687/1.801, allocations: 13.73 MB / 0.764 GB, free: 136 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/1.801, allocations: 55.69 kB / 0.7641 GB, free: 136 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/1.802, allocations: 23.59 kB / 0.7641 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/1.802, allocations: 0 / 0.7641 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/1.802, allocations: 65.47 kB / 0.7642 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/1.802, allocations: 1.188 kB / 0.7642 GB, free: 135.9 MB / 0.5923 GB Notification: Performance of matching and sorting (n=5): time 0.01492/1.817, allocations: 4.608 MB / 0.7687 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.817, allocations: 56.28 kB / 0.7687 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1116/1.929, allocations: 50.58 MB / 0.8181 GB, free: 108.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/1.929, allocations: 25.7 kB / 0.8181 GB, free: 108.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02552/1.954, allocations: 23.58 MB / 0.8412 GB, free: 85.03 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/1.954, allocations: 16.66 kB / 0.8412 GB, free: 85.02 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.954, allocations: 17.72 kB / 0.8412 GB, free: 85 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/1.955, allocations: 317 kB / 0.8415 GB, free: 84.69 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/1.955, allocations: 12 kB / 0.8415 GB, free: 84.68 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/1.955, allocations: 29.7 kB / 0.8415 GB, free: 84.64 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.998e-05/1.955, allocations: 45.48 kB / 0.8416 GB, free: 84.59 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.955, allocations: 2.438 kB / 0.8416 GB, free: 84.59 MB / 0.5923 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.009219/1.964, allocations: 4.599 MB / 0.8461 GB, free: 82.44 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.964, allocations: 4 kB / 0.8461 GB, free: 82.43 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.964, allocations: 0 / 0.8461 GB, free: 82.43 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/1.964, allocations: 4 kB / 0.8461 GB, free: 82.43 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.964, allocations: 11.98 kB / 0.8461 GB, free: 82.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.964, allocations: 0 / 0.8461 GB, free: 82.42 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/1.976, allocations: 141.4 kB / 0.8462 GB, free: 82.29 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/1.976, allocations: 0 / 0.8462 GB, free: 82.29 MB / 0.5923 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.01583/1.992, allocations: 9.395 MB / 0.8554 GB, free: 72.87 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01159/2.004, allocations: 4.648 MB / 0.8599 GB, free: 68.16 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/2.018, allocations: 5.122 MB / 0.8649 GB, free: 63.03 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/2.018, allocations: 6.75 kB / 0.865 GB, free: 63.03 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.018, allocations: 3.609 kB / 0.865 GB, free: 63.03 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.018, allocations: 6.938 kB / 0.865 GB, free: 63.02 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04102/2.059, allocations: 15.07 MB / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/2.06, allocations: 0 / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/2.06, allocations: 6.344 kB / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/2.06, allocations: 0 / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/2.06, allocations: 0 / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/2.06, allocations: 0 / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.06, allocations: 0 / 0.8797 GB, free: 47.88 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009751/2.069, allocations: 5.043 MB / 0.8846 GB, free: 42.76 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00931/2.079, allocations: 3.508 MB / 0.888 GB, free: 39.18 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006224/2.085, allocations: 132.1 kB / 0.8882 GB, free: 39.05 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007609/2.093, allocations: 128 kB / 0.8883 GB, free: 38.92 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/2.093, allocations: 11.92 kB / 0.8883 GB, free: 38.91 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/2.093, allocations: 3 kB / 0.8883 GB, free: 38.91 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07396/2.167, allocations: 35.01 MB / 0.9225 GB, free: 4.203 MB / 0.5923 GB Notification: Performance of sort global known variables: time 5.11e-07/2.167, allocations: 0 / 0.9225 GB, free: 4.203 MB / 0.5923 GB Notification: Performance of remove unused functions: time 0.007421/2.174, allocations: 1.234 MB / 0.9237 GB, free: 2.969 MB / 0.5923 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.001029/2.175, allocations: 415 kB / 0.9241 GB, free: 2.754 MB / 0.5923 GB Notification: Performance of simCode: created initialization part: time 0.0002461/2.176, allocations: 42.97 kB / 0.9241 GB, free: 2.715 MB / 0.5923 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.176, allocations: 0 / 0.9241 GB, free: 2.715 MB / 0.5923 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/2.176, allocations: 24.06 kB / 0.9242 GB, free: 2.691 MB / 0.5923 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02882/2.205, allocations: 3.403 MB / 0.9275 GB, free: 15.29 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1593/2.364, allocations: 71.59 MB / 0.9974 GB, free: 8.113 MB / 0.6704 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04487/2.409, allocations: 17.34 MB / 1.014 GB, free: 6.719 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.4214/2.83, allocations: 11.32 MB / 1.025 GB, free: 203.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01594/2.846, allocations: 4.408 MB / 1.03 GB, free: 202.7 MB / 0.686 GB Notification: Performance of SimCode: time 2.595e-06/2.846, allocations: 0 / 1.03 GB, free: 202.7 MB / 0.686 GB Notification: Performance of Templates: time 0.4172/3.264, allocations: 123.3 MB / 1.15 GB, free: 117.9 MB / 0.686 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches