Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, 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.357/1.357, 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.001051/0.001051, allocations: 113 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.7358/0.7358, allocations: 119.3 MB / 460.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 55.09 kB / 0.5391 GB, free: 43.2 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1465, allocations: 80.69 MB / 0.6179 GB, free: 12.74 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.00264/0.1492, allocations: 1.474 MB / 0.6193 GB, free: 11.25 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000964/0.1502, allocations: 0.5922 MB / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.1503, allocations: 0 / 0.6199 GB, free: 10.66 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1514, allocations: 1.723 MB / 0.6216 GB, free: 8.93 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.1525, allocations: 1.758 MB / 0.6233 GB, free: 7.168 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1528, allocations: 58.89 kB / 0.6234 GB, free: 7.113 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.1556, allocations: 4.303 MB / 0.6276 GB, free: 2.805 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1556, allocations: 0 / 0.6276 GB, free: 2.805 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.1573, allocations: 2.149 MB / 0.6297 GB, free: 0.6523 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.1599, allocations: 3.798 MB / 0.6334 GB, free: 12.85 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.1605, allocations: 252 kB / 0.6336 GB, free: 12.6 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.161, allocations: 331.9 kB / 0.6339 GB, free: 12.28 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008156/0.1692, allocations: 9.954 MB / 0.6437 GB, free: 2.297 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005179/0.1744, allocations: 5.636 MB / 0.6492 GB, free: 12.6 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008385/0.1828, allocations: 11.92 MB / 0.6608 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1828, allocations: 0 / 0.6608 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1828, allocations: 0 / 0.6608 GB, free: 0.6133 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0003072/0.1832, allocations: 0 / 0.6608 GB, free: 0.6133 MB / 474.8 MB 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.02433/0.2075, allocations: 19.56 MB / 0.6799 GB, free: 12.82 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2076, allocations: 8.031 kB / 0.6799 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.21, allocations: 2.206 MB / 0.6821 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5122/0.7223, allocations: 25.82 MB / 0.7073 GB, free: 60.46 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.7223, allocations: 4.969 kB / 0.7073 GB, free: 60.46 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.7225, allocations: 64.69 kB / 0.7074 GB, free: 60.46 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.7236, allocations: 0.7843 MB / 0.7081 GB, free: 60.23 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7236, allocations: 0 / 0.7081 GB, free: 60.23 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.7237, allocations: 63.25 kB / 0.7082 GB, free: 60.23 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7237, allocations: 0 / 0.7082 GB, free: 60.23 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.7245, allocations: 460.5 kB / 0.7086 GB, free: 60.22 MB / 0.495 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.7369, allocations: 7.004 MB / 0.7155 GB, free: 56.17 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/0.7379, allocations: 288.6 kB / 0.7157 GB, free: 56.13 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.7384, allocations: 286 kB / 0.716 GB, free: 56.11 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.7384, allocations: 0 / 0.716 GB, free: 56.11 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.7392, allocations: 0.7041 MB / 0.7167 GB, free: 55.83 MB / 0.495 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.7392, allocations: 0 / 0.7167 GB, free: 55.83 MB / 0.495 GB Notification: Performance of matching and sorting (n=8): time 0.005819/0.745, allocations: 4.236 MB / 0.7208 GB, free: 54.48 MB / 0.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.7451, allocations: 84.39 kB / 0.7209 GB, free: 54.38 MB / 0.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02821/0.7733, allocations: 24.84 MB / 0.7452 GB, free: 30.38 MB / 0.495 GB Notification: Performance of collectPreVariables (initialization): time 0.0005895/0.774, allocations: 87.23 kB / 0.7453 GB, free: 30.29 MB / 0.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.007478/0.7814, allocations: 10.83 MB / 0.7558 GB, free: 19.45 MB / 0.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.7826, allocations: 75.75 kB / 0.7559 GB, free: 19.38 MB / 0.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.7831, allocations: 461.5 kB / 0.7563 GB, free: 18.93 MB / 0.495 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/0.7831, allocations: 318 kB / 0.7567 GB, free: 18.61 MB / 0.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.7836, allocations: 260 kB / 0.7569 GB, free: 18.36 MB / 0.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.7841, allocations: 272 kB / 0.7572 GB, free: 18.09 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.7848, allocations: 0.5924 MB / 0.7577 GB, free: 17.48 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7849, allocations: 1.75 kB / 0.7577 GB, free: 17.48 MB / 0.495 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004987/0.7899, allocations: 3.971 MB / 0.7616 GB, free: 13.47 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.7899, allocations: 37.69 kB / 0.7617 GB, free: 13.43 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7899, allocations: 0 / 0.7617 GB, free: 13.43 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.7899, allocations: 4.984 kB / 0.7617 GB, free: 13.43 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.79, allocations: 7.938 kB / 0.7617 GB, free: 13.42 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.79, allocations: 0 / 0.7617 GB, free: 13.42 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.7927, allocations: 64 kB / 0.7617 GB, free: 13.36 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005427/0.7932, allocations: 0.8555 MB / 0.7626 GB, free: 12.5 MB / 0.495 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.005408/0.7987, allocations: 4.913 MB / 0.7674 GB, free: 7.57 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003057/0.8017, allocations: 2.267 MB / 0.7696 GB, free: 5.273 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.8056, allocations: 2.568 MB / 0.7721 GB, free: 2.695 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8056, allocations: 3.938 kB / 0.7721 GB, free: 2.691 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.8056, allocations: 0 / 0.7721 GB, free: 2.691 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8056, allocations: 0.9375 kB / 0.7721 GB, free: 2.691 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.8161, allocations: 7.613 MB / 0.7795 GB, free: 11.03 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8162, allocations: 7.375 kB / 0.7795 GB, free: 11.02 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.8162, allocations: 6.516 kB / 0.7795 GB, free: 11.02 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.8162, allocations: 3.984 kB / 0.7795 GB, free: 11.02 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007814/0.817, allocations: 191 kB / 0.7797 GB, free: 10.83 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.817, allocations: 7.938 kB / 0.7797 GB, free: 10.82 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.817, allocations: 0 / 0.7797 GB, free: 10.82 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/0.8304, allocations: 10.37 MB / 0.7899 GB, free: 344 kB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005113/0.8356, allocations: 1.987 MB / 0.7918 GB, free: 14.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/0.8376, allocations: 64 kB / 0.7919 GB, free: 14.24 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.8398, allocations: 67.61 kB / 0.7919 GB, free: 14.18 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.8398, allocations: 8 kB / 0.7919 GB, free: 14.17 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007819/0.8406, allocations: 0.8555 MB / 0.7928 GB, free: 13.31 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.02672/0.8674, allocations: 17.24 MB / 0.8096 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.11e-07/0.8674, allocations: 3 kB / 0.8096 GB, free: 12.22 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.003827/0.8712, allocations: 0.6403 MB / 0.8102 GB, free: 11.59 MB / 0.5419 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.0004656/0.8717, allocations: 178.5 kB / 0.8104 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.8729, allocations: 0.6907 MB / 0.8111 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8729, allocations: 0 / 0.8111 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.8736, allocations: 423.4 kB / 0.8115 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006311/0.8799, allocations: 1.703 MB / 0.8131 GB, free: 8.578 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05182/0.9318, allocations: 39.13 MB / 0.8514 GB, free: 1.621 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/0.9436, allocations: 8.917 MB / 0.8601 GB, free: 8.664 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.01323/0.9568, allocations: 4.695 MB / 0.8647 GB, free: 3.965 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/0.9586, allocations: 0.9838 MB / 0.8656 GB, free: 2.984 MB / 0.5888 GB Notification: Performance of SimCode: time 1.854e-06/0.9586, allocations: 3.938 kB / 0.8656 GB, free: 2.98 MB / 0.5888 GB Notification: Performance of Templates: time 0.2034/1.162, allocations: 82.65 MB / 0.9463 GB, free: 228 kB / 0.6669 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches