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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 99.27 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7445/0.7445, allocations: 119.3 MB / 460.6 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009714/0.0009714, allocations: 51.92 kB / 0.5391 GB, free: 43.14 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1299, allocations: 80.69 MB / 0.6179 GB, free: 12.7 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002813/0.1328, allocations: 1.473 MB / 0.6193 GB, free: 11.21 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.1338, allocations: 0.5923 MB / 0.6199 GB, free: 10.61 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.1338, allocations: 4 kB / 0.6199 GB, free: 10.61 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.136, allocations: 3.426 MB / 0.6233 GB, free: 7.176 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.1382, allocations: 3.461 MB / 0.6267 GB, free: 3.707 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1385, allocations: 55.94 kB / 0.6267 GB, free: 3.652 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.005891/0.1444, allocations: 8.551 MB / 0.6351 GB, free: 11.09 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.908e-05/0.1445, allocations: 11.98 kB / 0.6351 GB, free: 11.08 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005173/0.1497, allocations: 4.239 MB / 0.6392 GB, free: 6.832 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007026/0.1567, allocations: 7.596 MB / 0.6466 GB, free: 15.22 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001606/0.1584, allocations: 0.4922 MB / 0.6471 GB, free: 14.73 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.1596, allocations: 0.5546 MB / 0.6477 GB, free: 14.18 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01836/0.178, allocations: 19.91 MB / 0.6671 GB, free: 10.21 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01474/0.1927, allocations: 11.25 MB / 0.6781 GB, free: 14.84 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.4352/0.6279, allocations: 23.76 MB / 0.7013 GB, free: 45.43 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.628, allocations: 0 / 0.7013 GB, free: 45.43 MB / 0.495 GB Notification: Performance of FrontEnd: time 2.334e-06/0.628, allocations: 0.6562 kB / 0.7013 GB, free: 45.43 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.001104/0.6291, allocations: 0.8438 kB / 0.7013 GB, free: 45.43 MB / 0.495 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.06196/0.6911, allocations: 38.75 MB / 0.7391 GB, free: 19.99 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6911, allocations: 14.72 kB / 0.7391 GB, free: 19.99 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.6972, allocations: 4.4 MB / 0.7434 GB, free: 17.49 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.129/0.8262, allocations: 51.57 MB / 0.7938 GB, free: 1.375 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.8263, allocations: 384 / 0.7938 GB, free: 1.375 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.8266, allocations: 128.4 kB / 0.7939 GB, free: 1.25 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.8288, allocations: 1.516 MB / 0.7954 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8288, allocations: 6.656 kB / 0.7954 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.8291, allocations: 124 kB / 0.7955 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8291, allocations: 6 kB / 0.7955 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.8304, allocations: 0.8672 MB / 0.7964 GB, free: 14.73 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.8621, allocations: 13.84 MB / 0.8099 GB, free: 0.8203 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.8644, allocations: 0.5333 MB / 0.8104 GB, free: 288 kB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.8655, allocations: 0.5203 MB / 0.8109 GB, free: 15.76 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.8656, allocations: 3.938 kB / 0.8109 GB, free: 15.76 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.867, allocations: 1.313 MB / 0.8122 GB, free: 14.43 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=8): time 2.685e-06/0.867, allocations: 0 / 0.8122 GB, free: 14.43 MB / 0.5575 GB Notification: Performance of matching and sorting (n=8): time 0.01231/0.8793, allocations: 8.323 MB / 0.8203 GB, free: 6.035 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.8795, allocations: 81.83 kB / 0.8204 GB, free: 5.938 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1024/0.9818, allocations: 49.58 MB / 0.8688 GB, free: 4.773 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 0.0008089/0.9827, allocations: 157.7 kB / 0.869 GB, free: 4.613 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.02734/1.01, allocations: 22.54 MB / 0.891 GB, free: 14.05 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.011, allocations: 147.7 kB / 0.8912 GB, free: 13.91 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/1.013, allocations: 0.8767 MB / 0.892 GB, free: 13.03 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 0.0001021/1.013, allocations: 310 kB / 0.8923 GB, free: 12.72 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008208/1.014, allocations: 0.5039 MB / 0.8928 GB, free: 12.22 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/1.014, allocations: 0.5046 MB / 0.8933 GB, free: 11.71 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.016, allocations: 1.076 MB / 0.8943 GB, free: 10.62 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.016, allocations: 1.156 kB / 0.8943 GB, free: 10.62 MB / 0.6357 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01095/1.027, allocations: 7.824 MB / 0.902 GB, free: 2.734 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/1.027, allocations: 43.7 kB / 0.902 GB, free: 2.688 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.027, allocations: 0 / 0.902 GB, free: 2.688 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.027, allocations: 2.438 kB / 0.902 GB, free: 2.688 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/1.027, allocations: 4 kB / 0.902 GB, free: 2.684 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/1.027, allocations: 0 / 0.902 GB, free: 2.684 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/1.033, allocations: 131.2 kB / 0.9022 GB, free: 2.559 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/1.034, allocations: 1.719 MB / 0.9038 GB, free: 0.8398 MB / 0.6357 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.01749/1.052, allocations: 9.67 MB / 0.9133 GB, free: 7.148 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006508/1.058, allocations: 4.527 MB / 0.9177 GB, free: 2.562 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.071, allocations: 5.118 MB / 0.9227 GB, free: 13.43 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.071, allocations: 0 / 0.9227 GB, free: 13.43 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.071, allocations: 0 / 0.9227 GB, free: 13.43 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/1.071, allocations: 3.938 kB / 0.9227 GB, free: 13.43 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03754/1.109, allocations: 15.07 MB / 0.9374 GB, free: 14.3 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.109, allocations: 5.344 kB / 0.9374 GB, free: 14.3 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/1.109, allocations: 4 kB / 0.9374 GB, free: 14.29 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/1.109, allocations: 3.938 kB / 0.9374 GB, free: 14.29 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001442/1.11, allocations: 384.8 kB / 0.9378 GB, free: 13.91 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.11, allocations: 0 / 0.9378 GB, free: 13.91 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.11, allocations: 0 / 0.9378 GB, free: 13.91 MB / 0.6825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5172/1.628, allocations: 20 MB / 0.9573 GB, free: 230.3 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0107/1.638, allocations: 3.877 MB / 0.9611 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006271/1.645, allocations: 127.6 kB / 0.9612 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005976/1.651, allocations: 127 kB / 0.9614 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/1.651, allocations: 5.047 kB / 0.9614 GB, free: 230.2 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001474/1.652, allocations: 1.717 MB / 0.963 GB, free: 230 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.06596/1.718, allocations: 34.49 MB / 0.9967 GB, free: 214.1 MB / 0.6828 GB Notification: Performance of sort global known variables: time 2.5e-07/1.718, allocations: 4 kB / 0.9967 GB, free: 214.1 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.005033/1.723, allocations: 1.257 MB / 0.9979 GB, free: 212.8 MB / 0.6828 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.0004493/1.724, allocations: 238.8 kB / 0.9982 GB, free: 212.6 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.726, allocations: 1.237 MB / 0.9994 GB, free: 211.4 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.726, allocations: 6 kB / 0.9994 GB, free: 211.4 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.727, allocations: 0.718 MB / 1 GB, free: 210.6 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/1.743, allocations: 3.375 MB / 1.003 GB, free: 207.2 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1002/1.843, allocations: 79.49 MB / 1.081 GB, free: 128.2 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02843/1.871, allocations: 17.33 MB / 1.098 GB, free: 110.8 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.02861/1.9, allocations: 9.325 MB / 1.107 GB, free: 101.5 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/1.903, allocations: 1.964 MB / 1.109 GB, free: 99.52 MB / 0.6828 GB Notification: Performance of SimCode: time 1.162e-06/1.903, allocations: 0 / 1.109 GB, free: 99.52 MB / 0.6828 GB Notification: Performance of Templates: time 0.7009/2.604, allocations: 167.2 MB / 1.272 GB, free: 201.9 MB / 0.6984 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@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches