Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 114.1 kB / 17.06 MB, free: 6.086 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.002031/0.002032, allocations: 192 kB / 17.99 MB, free: 5.184 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.485/1.485, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.206/1.206, allocations: 119.3 MB / 411.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 71.75 kB / 0.5709 GB, free: 39.76 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2157, allocations: 80.69 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002956/0.2187, allocations: 1.416 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2199, allocations: 0.5652 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.824e-05/0.22, allocations: 0 / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.2227, allocations: 3.43 MB / 0.655 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.2256, allocations: 3.473 MB / 0.6584 GB, free: 4.164 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.226, allocations: 79.8 kB / 0.6585 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00771/0.2338, allocations: 8.555 MB / 0.6668 GB, free: 11.52 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.2339, allocations: 7.984 kB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007267/0.2411, allocations: 4.247 MB / 0.671 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01205/0.2532, allocations: 8.085 MB / 0.6789 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002156/0.2554, allocations: 500 kB / 0.6793 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.2569, allocations: 0.5702 MB / 0.6799 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02297/0.2799, allocations: 19.9 MB / 0.6993 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01853/0.2984, allocations: 11.25 MB / 0.7103 GB, free: 14.78 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.03409/0.3326, allocations: 25 MB / 0.7347 GB, free: 5.617 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3326, allocations: 0 / 0.7347 GB, free: 5.617 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3326, allocations: 0 / 0.7347 GB, free: 5.617 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001187/0.3338, allocations: 4 kB / 0.7347 GB, free: 5.613 MB / 0.5764 GB 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.8333/1.167, allocations: 40.45 MB / 0.7742 GB, free: 76.36 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/1.167, allocations: 9.5 kB / 0.7743 GB, free: 76.36 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009844/1.177, allocations: 4.65 MB / 0.7788 GB, free: 74.15 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1372/1.314, allocations: 52.31 MB / 0.8299 GB, free: 36.95 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.987e-05/1.314, allocations: 4.359 kB / 0.8299 GB, free: 36.95 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/1.316, allocations: 132.4 kB / 0.83 GB, free: 36.82 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003762/1.319, allocations: 1.512 MB / 0.8315 GB, free: 35.3 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/1.319, allocations: 3.625 kB / 0.8315 GB, free: 35.3 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004569/1.32, allocations: 124 kB / 0.8316 GB, free: 35.18 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.32, allocations: 0 / 0.8316 GB, free: 35.18 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.321, allocations: 0.8789 MB / 0.8325 GB, free: 34.3 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/1.351, allocations: 13.85 MB / 0.846 GB, free: 20.39 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/1.353, allocations: 0.5275 MB / 0.8465 GB, free: 19.86 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/1.356, allocations: 0.5165 MB / 0.847 GB, free: 19.34 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.356, allocations: 12.78 kB / 0.847 GB, free: 19.33 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002758/1.358, allocations: 1.311 MB / 0.8483 GB, free: 18 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.327e-06/1.358, allocations: 0 / 0.8483 GB, free: 18 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01677/1.375, allocations: 8.565 MB / 0.8567 GB, free: 9.391 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.375, allocations: 81.11 kB / 0.8567 GB, free: 9.293 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1177/1.493, allocations: 49.58 MB / 0.9052 GB, free: 8.129 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.001222/1.494, allocations: 159 kB / 0.9053 GB, free: 7.969 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.03542/1.53, allocations: 22.54 MB / 0.9273 GB, free: 1.41 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.531, allocations: 149.8 kB / 0.9275 GB, free: 1.266 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/1.533, allocations: 0.881 MB / 0.9283 GB, free: 392 kB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.533, allocations: 310.9 kB / 0.9286 GB, free: 76 kB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/1.534, allocations: 0.504 MB / 0.9291 GB, free: 15.57 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009419/1.535, allocations: 0.5103 MB / 0.9296 GB, free: 15.07 MB / 0.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/1.537, allocations: 1.074 MB / 0.9307 GB, free: 13.98 MB / 0.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.537, allocations: 0 / 0.9307 GB, free: 13.98 MB / 0.686 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01675/1.554, allocations: 8.065 MB / 0.9385 GB, free: 5.867 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 7.24e-05/1.554, allocations: 33.7 kB / 0.9386 GB, free: 5.828 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.554, allocations: 0 / 0.9386 GB, free: 5.828 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/1.554, allocations: 0 / 0.9386 GB, free: 5.828 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.554, allocations: 11.83 kB / 0.9386 GB, free: 5.82 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.554, allocations: 0 / 0.9386 GB, free: 5.82 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00851/1.563, allocations: 130.3 kB / 0.9387 GB, free: 5.695 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002823/1.565, allocations: 1.715 MB / 0.9404 GB, free: 3.98 MB / 0.686 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.01929/1.585, allocations: 9.664 MB / 0.9498 GB, free: 10.29 MB / 0.7017 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01103/1.596, allocations: 4.769 MB / 0.9545 GB, free: 5.492 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0171/1.613, allocations: 5.115 MB / 0.9595 GB, free: 376 kB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/1.613, allocations: 4 kB / 0.9595 GB, free: 372 kB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.613, allocations: 3.938 kB / 0.9595 GB, free: 368 kB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.613, allocations: 1.906 kB / 0.9595 GB, free: 368 kB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04169/1.655, allocations: 15.09 MB / 0.9742 GB, free: 1.211 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.655, allocations: 0.875 kB / 0.9742 GB, free: 1.211 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/1.655, allocations: 4 kB / 0.9742 GB, free: 1.207 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.655, allocations: 4.516 kB / 0.9742 GB, free: 1.207 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001364/1.656, allocations: 380 kB / 0.9746 GB, free: 0.8359 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/1.656, allocations: 3.984 kB / 0.9746 GB, free: 0.832 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.656, allocations: 2.578 kB / 0.9746 GB, free: 0.832 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.673, allocations: 8.396 MB / 0.9828 GB, free: 8.383 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01329/1.687, allocations: 4.124 MB / 0.9868 GB, free: 4.211 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005535/1.692, allocations: 128 kB / 0.9869 GB, free: 4.086 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00662/1.699, allocations: 131 kB / 0.9871 GB, free: 3.961 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/1.699, allocations: 0 / 0.9871 GB, free: 3.961 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00339/1.703, allocations: 1.719 MB / 0.9887 GB, free: 2.242 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07968/1.782, allocations: 34.49 MB / 1.022 GB, free: 60 kB / 0.7642 GB Notification: Performance of sort global known variables: time 2.254e-06/1.782, allocations: 0 / 1.022 GB, free: 60 kB / 0.7642 GB Notification: Performance of remove unused functions: time 0.008015/1.79, allocations: 1.258 MB / 1.024 GB, free: 14.8 MB / 0.7798 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.001119/1.791, allocations: 257.4 kB / 1.024 GB, free: 14.55 MB / 0.7798 GB Notification: Performance of simCode: created initialization part: time 0.002663/1.794, allocations: 1.23 MB / 1.025 GB, free: 13.31 MB / 0.7798 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.794, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.7798 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/1.796, allocations: 0.7182 MB / 1.026 GB, free: 12.58 MB / 0.7798 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03373/1.829, allocations: 3.379 MB / 1.029 GB, free: 9.199 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5785/2.408, allocations: 71.8 MB / 1.099 GB, free: 274.2 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04038/2.448, allocations: 17.33 MB / 1.116 GB, free: 266.4 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.03181/2.48, allocations: 9.425 MB / 1.125 GB, free: 261.7 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00553/2.486, allocations: 1.964 MB / 1.127 GB, free: 261.7 MB / 0.8267 GB Notification: Performance of SimCode: time 2.294e-06/2.486, allocations: 0 / 1.127 GB, free: 261.7 MB / 0.8267 GB Notification: Performance of Templates: time 0.4495/2.935, allocations: 167.3 MB / 1.291 GB, free: 107.6 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches