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.001325/0.001325, allocations: 106.9 kB / 16.92 MB, free: 5.777 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.001526/0.001526, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.48/1.48, allocations: 222.9 MB / 241.6 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.24/1.24, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002223, allocations: 59.91 kB / 0.491 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7069, allocations: 80.69 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002613/0.7095, allocations: 1.413 MB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.7105, allocations: 0.5699 MB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.7106, allocations: 0 / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004327/0.711, allocations: 448.4 kB / 0.5721 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.7116, allocations: 497.5 kB / 0.5726 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.7119, allocations: 83.53 kB / 0.5727 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008762/0.7128, allocations: 1.122 MB / 0.5738 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.7128, allocations: 7.172 kB / 0.5738 GB, free: 40.71 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.7134, allocations: 0.5599 MB / 0.5743 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009509/0.7144, allocations: 1.032 MB / 0.5753 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.7145, allocations: 66.81 kB / 0.5754 GB, free: 40.05 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.7148, allocations: 149.8 kB / 0.5755 GB, free: 40 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.7175, allocations: 2.492 MB / 0.578 GB, free: 38.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.7185, allocations: 1.421 MB / 0.5794 GB, free: 37.56 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.7215, allocations: 3.105 MB / 0.5824 GB, free: 35.6 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7215, allocations: 0 / 0.5824 GB, free: 35.6 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.146e-06/0.7215, allocations: 0 / 0.5824 GB, free: 35.6 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001154/0.7216, allocations: 1.125 kB / 0.5824 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.007416/0.729, allocations: 5.175 MB / 0.5874 GB, free: 31.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7291, allocations: 12.03 kB / 0.5874 GB, free: 31.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.7297, allocations: 0.5522 MB / 0.588 GB, free: 30.85 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009159/0.7389, allocations: 6.527 MB / 0.5944 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.739, allocations: 384 / 0.5944 GB, free: 24.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.7391, allocations: 20.38 kB / 0.5944 GB, free: 24.22 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.7394, allocations: 245.8 kB / 0.5946 GB, free: 23.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7394, allocations: 0 / 0.5946 GB, free: 23.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.7395, allocations: 16 kB / 0.5946 GB, free: 23.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.7395, allocations: 0 / 0.5946 GB, free: 23.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.7397, allocations: 135.9 kB / 0.5948 GB, free: 23.83 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.7419, allocations: 1.858 MB / 0.5966 GB, free: 21.92 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.742, allocations: 102.6 kB / 0.5967 GB, free: 21.81 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.7422, allocations: 88.89 kB / 0.5968 GB, free: 21.72 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.7422, allocations: 0 / 0.5968 GB, free: 21.72 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.7425, allocations: 268.8 kB / 0.597 GB, free: 21.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.7425, allocations: 4 kB / 0.597 GB, free: 21.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001416/0.7439, allocations: 1.168 MB / 0.5982 GB, free: 20.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.744, allocations: 81.11 kB / 0.5982 GB, free: 20.15 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005911/0.7499, allocations: 6.275 MB / 0.6044 GB, free: 13.92 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.75, allocations: 45.7 kB / 0.6044 GB, free: 13.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.7518, allocations: 2.516 MB / 0.6069 GB, free: 11.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.485e-05/0.7519, allocations: 35.73 kB / 0.6069 GB, free: 11.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.752, allocations: 137.7 kB / 0.607 GB, free: 11.18 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.7521, allocations: 310 kB / 0.6073 GB, free: 10.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.7522, allocations: 83.92 kB / 0.6074 GB, free: 10.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.7523, allocations: 76 kB / 0.6075 GB, free: 10.71 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.7526, allocations: 228.2 kB / 0.6077 GB, free: 10.47 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7526, allocations: 0 / 0.6077 GB, free: 10.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001177/0.7538, allocations: 1.093 MB / 0.6088 GB, free: 9.359 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.7538, allocations: 37.7 kB / 0.6088 GB, free: 9.316 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.7539, allocations: 0 / 0.6088 GB, free: 9.316 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.7539, allocations: 0 / 0.6088 GB, free: 9.316 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.754, allocations: 8 kB / 0.6088 GB, free: 9.309 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.754, allocations: 4.328 kB / 0.6088 GB, free: 9.305 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.7544, allocations: 23.92 kB / 0.6088 GB, free: 9.281 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.7546, allocations: 224 kB / 0.609 GB, free: 9.062 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.001573/0.7561, allocations: 1.333 MB / 0.6104 GB, free: 7.715 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.7565, allocations: 0.5785 MB / 0.6109 GB, free: 7.129 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.7571, allocations: 0.648 MB / 0.6115 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7571, allocations: 0 / 0.6115 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7571, allocations: 0 / 0.6115 GB, free: 6.473 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.7571, allocations: 4 kB / 0.6116 GB, free: 6.469 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.7585, allocations: 2.022 MB / 0.6135 GB, free: 4.398 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7585, allocations: 0 / 0.6135 GB, free: 4.398 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.7585, allocations: 7.938 kB / 0.6135 GB, free: 4.391 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7586, allocations: 0 / 0.6135 GB, free: 4.391 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.7586, allocations: 51.98 kB / 0.6136 GB, free: 4.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.7586, allocations: 11.92 kB / 0.6136 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7586, allocations: 0 / 0.6136 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009647/0.7596, allocations: 1.164 MB / 0.6147 GB, free: 3.133 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.7601, allocations: 0.5679 MB / 0.6153 GB, free: 2.539 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.7604, allocations: 20 kB / 0.6153 GB, free: 2.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.7607, allocations: 19.94 kB / 0.6153 GB, free: 2.5 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.7608, allocations: 11.98 kB / 0.6153 GB, free: 2.488 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.7609, allocations: 220 kB / 0.6155 GB, free: 2.273 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005585/0.7665, allocations: 4.324 MB / 0.6198 GB, free: 13.99 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.213e-06/0.7665, allocations: 0 / 0.6198 GB, free: 13.99 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0008027/0.7674, allocations: 184 kB / 0.6199 GB, free: 13.81 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.0002631/0.7676, allocations: 151.6 kB / 0.6201 GB, free: 13.65 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.7681, allocations: 279.3 kB / 0.6204 GB, free: 13.37 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7681, allocations: 0 / 0.6204 GB, free: 13.37 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.7684, allocations: 187.4 kB / 0.6205 GB, free: 13.17 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7697, allocations: 441.2 kB / 0.621 GB, free: 12.74 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.7833, allocations: 8.501 MB / 0.6293 GB, free: 4.207 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/0.7864, allocations: 2.724 MB / 0.6319 GB, free: 1.457 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003382/0.7898, allocations: 1.184 MB / 0.6331 GB, free: 272 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.7902, allocations: 259.4 kB / 0.6333 GB, free: 12 kB / 478.3 MB Notification: Performance of SimCode: time 3.607e-06/0.7902, allocations: 0 / 0.6333 GB, free: 12 kB / 478.3 MB Notification: Performance of Templates: time 0.05352/0.8437, allocations: 20.7 MB / 0.6535 GB, free: 11.2 MB / 0.4983 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