Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001632/0.001633, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.44/1.44, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.226/1.226, allocations: 119.3 MB / 411.7 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 63.91 kB / 0.4916 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6593/0.6617, allocations: 80.69 MB / 0.5704 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002747/0.6645, allocations: 1.402 MB / 0.5718 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.6656, allocations: 0.5741 MB / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.6657, allocations: 0 / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.6662, allocations: 456.1 kB / 0.5728 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.6668, allocations: 490.4 kB / 0.5732 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.6671, allocations: 80.38 kB / 0.5733 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000985/0.6681, allocations: 1.126 MB / 0.5744 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.6681, allocations: 2.688 kB / 0.5744 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006301/0.6688, allocations: 0.5593 MB / 0.575 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.6698, allocations: 1.036 MB / 0.576 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.67, allocations: 67.41 kB / 0.576 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.6703, allocations: 141 kB / 0.5762 GB, free: 40.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.6732, allocations: 2.497 MB / 0.5786 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.6744, allocations: 1.424 MB / 0.58 GB, free: 37.56 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.6775, allocations: 3.105 MB / 0.583 GB, free: 35.6 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.6775, allocations: 0 / 0.583 GB, free: 35.6 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6775, allocations: 0 / 0.583 GB, free: 35.6 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001165/0.6776, allocations: 0 / 0.583 GB, free: 35.6 MB / 462.3 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.007687/0.6853, allocations: 5.172 MB / 0.5881 GB, free: 31.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6854, allocations: 12.03 kB / 0.5881 GB, free: 31.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008131/0.6862, allocations: 0.5522 MB / 0.5886 GB, free: 30.85 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009832/0.6961, allocations: 6.527 MB / 0.595 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.6961, allocations: 384 / 0.595 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.6962, allocations: 20.38 kB / 0.595 GB, free: 24.22 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.6965, allocations: 241.8 kB / 0.5953 GB, free: 23.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.6965, allocations: 0 / 0.5953 GB, free: 23.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.6966, allocations: 16 kB / 0.5953 GB, free: 23.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6966, allocations: 4 kB / 0.5953 GB, free: 23.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.6968, allocations: 131.9 kB / 0.5954 GB, free: 23.83 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.699, allocations: 1.858 MB / 0.5972 GB, free: 21.92 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.6992, allocations: 106.6 kB / 0.5973 GB, free: 21.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.6993, allocations: 84.86 kB / 0.5974 GB, free: 21.72 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.6993, allocations: 3.984 kB / 0.5974 GB, free: 21.72 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003663/0.6997, allocations: 269 kB / 0.5977 GB, free: 21.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.6997, allocations: 3.938 kB / 0.5977 GB, free: 21.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001353/0.7011, allocations: 1.164 MB / 0.5988 GB, free: 20.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.7011, allocations: 81.11 kB / 0.5989 GB, free: 20.15 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006321/0.7074, allocations: 6.271 MB / 0.605 GB, free: 13.93 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/0.7076, allocations: 49.7 kB / 0.6051 GB, free: 13.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.7093, allocations: 2.52 MB / 0.6075 GB, free: 11.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.7094, allocations: 31.75 kB / 0.6075 GB, free: 11.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.7095, allocations: 133.7 kB / 0.6077 GB, free: 11.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.7096, allocations: 314 kB / 0.608 GB, free: 10.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.7097, allocations: 79.94 kB / 0.608 GB, free: 10.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.7098, allocations: 83.92 kB / 0.6081 GB, free: 10.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.7101, allocations: 232.2 kB / 0.6083 GB, free: 10.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7102, allocations: 0 / 0.6083 GB, free: 10.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001301/0.7115, allocations: 1.086 MB / 0.6094 GB, free: 9.359 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.7115, allocations: 44.28 kB / 0.6095 GB, free: 9.312 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7115, allocations: 0 / 0.6095 GB, free: 9.312 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.7116, allocations: 4 kB / 0.6095 GB, free: 9.309 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.7117, allocations: 4 kB / 0.6095 GB, free: 9.305 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.7117, allocations: 4.234 kB / 0.6095 GB, free: 9.301 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.7122, allocations: 20 kB / 0.6095 GB, free: 9.281 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.7123, allocations: 220 kB / 0.6097 GB, free: 9.066 MB / 462.3 MB 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.001865/0.7142, allocations: 1.334 MB / 0.611 GB, free: 7.715 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/0.7147, allocations: 0.5824 MB / 0.6116 GB, free: 7.125 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.7154, allocations: 0.6441 MB / 0.6122 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7154, allocations: 0 / 0.6122 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7154, allocations: 4 kB / 0.6122 GB, free: 6.469 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7154, allocations: 0 / 0.6122 GB, free: 6.469 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.717, allocations: 2.026 MB / 0.6142 GB, free: 4.395 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.717, allocations: 0 / 0.6142 GB, free: 4.395 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.717, allocations: 11.94 kB / 0.6142 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.717, allocations: 0 / 0.6142 GB, free: 4.383 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.7171, allocations: 48 kB / 0.6142 GB, free: 4.336 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.7171, allocations: 7.984 kB / 0.6142 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7171, allocations: 0 / 0.6142 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.7182, allocations: 1.168 MB / 0.6154 GB, free: 3.129 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/0.7187, allocations: 0.5641 MB / 0.6159 GB, free: 2.539 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.719, allocations: 23.94 kB / 0.616 GB, free: 2.516 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.7193, allocations: 19.98 kB / 0.616 GB, free: 2.496 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.7194, allocations: 4 kB / 0.616 GB, free: 2.492 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/0.7195, allocations: 223.9 kB / 0.6162 GB, free: 2.273 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.006201/0.7257, allocations: 4.328 MB / 0.6204 GB, free: 13.98 MB / 478.3 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7258, allocations: 0 / 0.6204 GB, free: 13.98 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009824/0.7268, allocations: 188 kB / 0.6206 GB, free: 13.8 MB / 478.3 MB 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.0002754/0.7271, allocations: 147.7 kB / 0.6207 GB, free: 13.65 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0005352/0.7276, allocations: 283.3 kB / 0.621 GB, free: 13.36 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7276, allocations: 0 / 0.621 GB, free: 13.36 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.7279, allocations: 187.4 kB / 0.6212 GB, free: 13.16 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.7292, allocations: 443.1 kB / 0.6216 GB, free: 12.73 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.7438, allocations: 8.744 MB / 0.6301 GB, free: 3.949 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/0.7466, allocations: 2.721 MB / 0.6328 GB, free: 1.203 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.7471, allocations: 259.4 kB / 0.6331 GB, free: 0.9453 MB / 478.3 MB Notification: Performance of SimCode: time 2.775e-06/0.7471, allocations: 0 / 0.6331 GB, free: 0.9453 MB / 478.3 MB Notification: Performance of Templates: time 0.8489/1.596, allocations: 140 MB / 0.7698 GB, free: 159.2 MB / 0.5923 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches