Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.00166/0.001666, allocations: 106 kB / 17.06 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.001401/0.001401, allocations: 195 kB / 18 MB, free: 5.094 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.445/1.445, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.056/1.056, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 62 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1782, allocations: 80.69 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002536/0.1808, allocations: 1.413 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009865/0.1818, allocations: 0.5691 MB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.1819, allocations: 0 / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.1842, allocations: 3.426 MB / 0.655 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.1868, allocations: 3.469 MB / 0.6584 GB, free: 4.148 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.1871, allocations: 87.77 kB / 0.6585 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.006944/0.1941, allocations: 8.555 MB / 0.6668 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.1942, allocations: 4 kB / 0.6668 GB, free: 11.49 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006102/0.2003, allocations: 4.247 MB / 0.671 GB, free: 7.238 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008703/0.209, allocations: 8.081 MB / 0.6789 GB, free: 15.14 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/0.2105, allocations: 0.4922 MB / 0.6793 GB, free: 14.65 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.2116, allocations: 0.5624 MB / 0.6799 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0223/0.2339, allocations: 19.91 MB / 0.6993 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01759/0.2516, allocations: 11.26 MB / 0.7103 GB, free: 14.75 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.02689/0.2785, allocations: 24.74 MB / 0.7345 GB, free: 5.887 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.2785, allocations: 4 kB / 0.7345 GB, free: 5.883 MB / 0.5764 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2786, allocations: 0 / 0.7345 GB, free: 5.883 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.001154/0.2797, allocations: 4 kB / 0.7345 GB, free: 5.879 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.8214/1.101, allocations: 38.74 MB / 0.7723 GB, free: 76.36 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 9.474e-05/1.101, allocations: 9.672 kB / 0.7723 GB, free: 76.36 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/1.112, allocations: 4.401 MB / 0.7766 GB, free: 75.56 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1443/1.256, allocations: 51.59 MB / 0.827 GB, free: 36.32 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/1.256, allocations: 384 / 0.827 GB, free: 36.32 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/1.256, allocations: 128.4 kB / 0.8271 GB, free: 36.2 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.258, allocations: 1.512 MB / 0.8286 GB, free: 34.68 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.258, allocations: 0 / 0.8286 GB, free: 34.68 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/1.258, allocations: 127.9 kB / 0.8287 GB, free: 34.55 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/1.258, allocations: 4 kB / 0.8287 GB, free: 34.55 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/1.259, allocations: 0.8755 MB / 0.8296 GB, free: 33.68 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/1.284, allocations: 13.84 MB / 0.8431 GB, free: 19.77 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/1.286, allocations: 0.5275 MB / 0.8436 GB, free: 19.23 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/1.288, allocations: 0.5199 MB / 0.8441 GB, free: 18.71 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/1.288, allocations: 2.344 kB / 0.8441 GB, free: 18.71 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/1.289, allocations: 1.308 MB / 0.8454 GB, free: 17.39 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.016e-06/1.289, allocations: 5.406 kB / 0.8454 GB, free: 17.38 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.0121/1.302, allocations: 8.323 MB / 0.8535 GB, free: 8.992 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/1.302, allocations: 89.09 kB / 0.8536 GB, free: 8.887 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1043/1.406, allocations: 49.57 MB / 0.902 GB, free: 7.723 MB / 0.6548 GB Notification: Performance of collectPreVariables (initialization): time 0.001062/1.407, allocations: 153.7 kB / 0.9022 GB, free: 7.566 MB / 0.6548 GB Notification: Performance of collectInitialEqns (initialization): time 0.0344/1.442, allocations: 22.55 MB / 0.9242 GB, free: 1.004 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001535/1.443, allocations: 139.7 kB / 0.9243 GB, free: 0.8711 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003964/1.447, allocations: 0.8815 MB / 0.9252 GB, free: 15.98 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.447, allocations: 306.9 kB / 0.9255 GB, free: 15.68 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/1.45, allocations: 0.5108 MB / 0.926 GB, free: 15.17 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008677/1.45, allocations: 0.5063 MB / 0.9265 GB, free: 14.67 MB / 0.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.452, allocations: 1.085 MB / 0.9275 GB, free: 13.57 MB / 0.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/1.452, allocations: 0 / 0.9275 GB, free: 13.57 MB / 0.686 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01325/1.465, allocations: 7.811 MB / 0.9352 GB, free: 5.695 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/1.466, allocations: 45.62 kB / 0.9352 GB, free: 5.645 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.466, allocations: 0 / 0.9352 GB, free: 5.645 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.466, allocations: 3.844 kB / 0.9352 GB, free: 5.645 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.466, allocations: 4 kB / 0.9352 GB, free: 5.641 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.466, allocations: 0 / 0.9352 GB, free: 5.641 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007789/1.473, allocations: 136.9 kB / 0.9354 GB, free: 5.508 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002042/1.476, allocations: 1.712 MB / 0.937 GB, free: 3.797 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.01808/1.494, allocations: 9.668 MB / 0.9465 GB, free: 10.11 MB / 0.7017 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009382/1.503, allocations: 4.531 MB / 0.9509 GB, free: 5.516 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/1.518, allocations: 5.115 MB / 0.9559 GB, free: 400 kB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.518, allocations: 0 / 0.9559 GB, free: 400 kB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.518, allocations: 1.719 kB / 0.9559 GB, free: 400 kB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.518, allocations: 0 / 0.9559 GB, free: 400 kB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04386/1.562, allocations: 15.08 MB / 0.9706 GB, free: 1.25 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/1.562, allocations: 2.062 kB / 0.9706 GB, free: 1.25 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/1.562, allocations: 7.609 kB / 0.9706 GB, free: 1.246 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.562, allocations: 7.688 kB / 0.9706 GB, free: 1.242 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/1.563, allocations: 380 kB / 0.971 GB, free: 0.8711 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.563, allocations: 0 / 0.971 GB, free: 0.8711 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.563, allocations: 0 / 0.971 GB, free: 0.8711 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/1.579, allocations: 8.147 MB / 0.9789 GB, free: 8.637 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01611/1.596, allocations: 3.876 MB / 0.9827 GB, free: 4.684 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006111/1.602, allocations: 131.9 kB / 0.9829 GB, free: 4.555 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006084/1.608, allocations: 135 kB / 0.983 GB, free: 4.426 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/1.608, allocations: 8.766 kB / 0.983 GB, free: 4.422 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001661/1.61, allocations: 1.718 MB / 0.9847 GB, free: 2.707 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.08436/1.694, allocations: 34.49 MB / 1.018 GB, free: 0.5195 MB / 0.7642 GB Notification: Performance of sort global known variables: time 9.12e-07/1.694, allocations: 0 / 1.018 GB, free: 0.5195 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.00996/1.704, allocations: 1.253 MB / 1.02 GB, free: 15.27 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.001076/1.705, allocations: 249.7 kB / 1.02 GB, free: 15.02 MB / 0.7798 GB Notification: Performance of simCode: created initialization part: time 0.002275/1.707, allocations: 1.234 MB / 1.021 GB, free: 13.78 MB / 0.7798 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.707, allocations: 2.516 kB / 1.021 GB, free: 13.78 MB / 0.7798 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.709, allocations: 0.7142 MB / 1.022 GB, free: 13.05 MB / 0.7798 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02589/1.735, allocations: 3.379 MB / 1.025 GB, free: 9.668 MB / 0.7798 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6555/2.39, allocations: 70.58 MB / 1.094 GB, free: 273.1 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0388/2.429, allocations: 17.33 MB / 1.111 GB, free: 265.3 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.03407/2.463, allocations: 9.425 MB / 1.12 GB, free: 260.6 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006498/2.47, allocations: 1.962 MB / 1.122 GB, free: 260.6 MB / 0.8267 GB Notification: Performance of SimCode: time 2.114e-06/2.47, allocations: 4 kB / 1.122 GB, free: 260.6 MB / 0.8267 GB Notification: Performance of Templates: time 0.4404/2.91, allocations: 173.4 MB / 1.291 GB, free: 100.4 MB / 0.8267 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches