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.001241/0.001241, allocations: 115.2 kB / 17.07 MB, free: 6.016 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.001622/0.001622, allocations: 191.7 kB / 18 MB, free: 5.098 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.482/1.482, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.134/1.134, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 66.55 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2112, 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.003115/0.2143, allocations: 1.406 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2156, allocations: 0.5691 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.2157, allocations: 0 / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.2182, allocations: 3.426 MB / 0.655 GB, free: 7.645 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.2207, allocations: 3.473 MB / 0.6584 GB, free: 4.164 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.2211, allocations: 79.73 kB / 0.6585 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.007/0.2281, allocations: 8.563 MB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.91e-05/0.2282, allocations: 4 kB / 0.6668 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007083/0.2353, allocations: 4.247 MB / 0.671 GB, free: 7.254 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.2461, allocations: 8.081 MB / 0.6789 GB, free: 15.16 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.2478, allocations: 0.4922 MB / 0.6793 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.2496, allocations: 0.5663 MB / 0.6799 GB, free: 14.1 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.02121/0.2708, allocations: 19.91 MB / 0.6993 GB, free: 10.14 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01528/0.2862, allocations: 11.24 MB / 0.7103 GB, free: 14.78 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.0332/0.3194, allocations: 25 MB / 0.7347 GB, free: 5.609 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.3195, allocations: 3.938 kB / 0.7347 GB, free: 5.605 MB / 0.5764 GB Notification: Performance of FrontEnd: time 3.286e-06/0.3195, allocations: 0 / 0.7347 GB, free: 5.605 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001249/0.3207, allocations: 0 / 0.7347 GB, free: 5.605 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.8251/1.146, allocations: 40.46 MB / 0.7742 GB, free: 85.29 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 7.286e-05/1.146, allocations: 9.781 kB / 0.7742 GB, free: 85.29 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009261/1.155, allocations: 4.645 MB / 0.7788 GB, free: 83.07 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1378/1.293, allocations: 52.31 MB / 0.8299 GB, free: 43.55 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/1.293, allocations: 4.375 kB / 0.8299 GB, free: 43.55 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/1.293, allocations: 124.4 kB / 0.83 GB, free: 43.43 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/1.295, allocations: 1.516 MB / 0.8315 GB, free: 41.9 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.295, allocations: 2.75 kB / 0.8315 GB, free: 41.9 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/1.295, allocations: 131.6 kB / 0.8316 GB, free: 41.78 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.295, allocations: 0 / 0.8316 GB, free: 41.78 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009303/1.296, allocations: 0.8711 MB / 0.8324 GB, free: 40.91 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02373/1.32, allocations: 13.86 MB / 0.846 GB, free: 26.99 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.321, allocations: 0.5253 MB / 0.8465 GB, free: 26.46 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/1.322, allocations: 0.5204 MB / 0.847 GB, free: 25.93 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/1.322, allocations: 3.625 kB / 0.847 GB, free: 25.93 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/1.323, allocations: 1.316 MB / 0.8483 GB, free: 24.6 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.266e-06/1.323, allocations: 0 / 0.8483 GB, free: 24.6 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01166/1.335, allocations: 8.569 MB / 0.8567 GB, free: 15.99 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.335, allocations: 77.11 kB / 0.8567 GB, free: 15.89 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1077/1.443, allocations: 49.58 MB / 0.9051 GB, free: 14.72 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.444, allocations: 149.7 kB / 0.9053 GB, free: 14.57 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.03273/1.477, allocations: 22.55 MB / 0.9273 GB, free: 8.008 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.478, allocations: 144.5 kB / 0.9275 GB, free: 7.867 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/1.479, allocations: 0.8763 MB / 0.9283 GB, free: 6.988 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.479, allocations: 314 kB / 0.9286 GB, free: 6.676 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000836/1.48, allocations: 0.5039 MB / 0.9291 GB, free: 6.172 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/1.481, allocations: 0.5081 MB / 0.9296 GB, free: 5.668 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/1.483, allocations: 1.079 MB / 0.9307 GB, free: 4.578 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.483, allocations: 3.984 kB / 0.9307 GB, free: 4.574 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01337/1.496, allocations: 8.059 MB / 0.9385 GB, free: 12.47 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/1.496, allocations: 29.7 kB / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.496, allocations: 7.516 kB / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/1.496, allocations: 4 kB / 0.9386 GB, free: 12.43 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/1.496, allocations: 6.25 kB / 0.9386 GB, free: 12.42 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.496, allocations: 0 / 0.9386 GB, free: 12.42 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00742/1.504, allocations: 134.4 kB / 0.9387 GB, free: 12.29 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.506, allocations: 1.707 MB / 0.9404 GB, free: 10.59 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.01787/1.524, allocations: 9.668 MB / 0.9498 GB, free: 0.8945 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01016/1.534, allocations: 4.773 MB / 0.9545 GB, free: 12.09 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/1.549, allocations: 5.113 MB / 0.9595 GB, free: 6.969 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.549, allocations: 1.312 kB / 0.9595 GB, free: 6.969 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.549, allocations: 0 / 0.9595 GB, free: 6.969 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.549, allocations: 7.094 kB / 0.9595 GB, free: 6.965 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04156/1.591, allocations: 15.09 MB / 0.9742 GB, free: 7.816 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.591, allocations: 0 / 0.9742 GB, free: 7.816 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/1.591, allocations: 4 kB / 0.9742 GB, free: 7.812 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.591, allocations: 3 kB / 0.9742 GB, free: 7.812 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001394/1.592, allocations: 381.1 kB / 0.9746 GB, free: 7.441 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.593, allocations: 0 / 0.9746 GB, free: 7.441 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.593, allocations: 4 kB / 0.9746 GB, free: 7.438 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/1.607, allocations: 8.4 MB / 0.9828 GB, free: 14.98 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0129/1.62, allocations: 4.124 MB / 0.9868 GB, free: 10.81 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00583/1.626, allocations: 128 kB / 0.9869 GB, free: 10.69 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005646/1.631, allocations: 124 kB / 0.987 GB, free: 10.57 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/1.632, allocations: 8 kB / 0.9871 GB, free: 10.56 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001477/1.633, allocations: 1.716 MB / 0.9887 GB, free: 8.844 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07148/1.705, allocations: 34.49 MB / 1.022 GB, free: 6.656 MB / 0.7642 GB Notification: Performance of sort global known variables: time 3.1e-07/1.705, allocations: 0 / 1.022 GB, free: 6.656 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.007878/1.712, allocations: 1.249 MB / 1.024 GB, free: 5.41 MB / 0.7642 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.0006777/1.713, allocations: 259.6 kB / 1.024 GB, free: 5.152 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.002145/1.715, allocations: 1.234 MB / 1.025 GB, free: 3.906 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.715, allocations: 0 / 1.025 GB, free: 3.906 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/1.717, allocations: 0.7182 MB / 1.026 GB, free: 3.176 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02953/1.746, allocations: 3.382 MB / 1.029 GB, free: 15.79 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5168/2.263, allocations: 71.78 MB / 1.099 GB, free: 282.5 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03025/2.293, allocations: 17.34 MB / 1.116 GB, free: 275.8 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02258/2.316, allocations: 9.425 MB / 1.125 GB, free: 271.2 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003532/2.319, allocations: 1.963 MB / 1.127 GB, free: 271.2 MB / 0.8267 GB Notification: Performance of SimCode: time 1.212e-06/2.319, allocations: 0 / 1.127 GB, free: 271.2 MB / 0.8267 GB Notification: Performance of Templates: time 0.3879/2.707, allocations: 167.3 MB / 1.291 GB, free: 122.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/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