Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.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 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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 173.1 kB / 13.64 MB, free: 1.672 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.473/1.473, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 88.03 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8576/0.8576, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.561e-05, allocations: 7.984 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5068, allocations: 82.83 MB / 0.6166 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.6429, allocations: 126.6 MB / 0.7403 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001257/0.6431, allocations: 51.91 kB / 0.7403 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.009014/0.6521, allocations: 3.175 MB / 0.7434 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.346e-06/0.6522, allocations: 0 / 0.7434 GB, free: 7.344 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6522, allocations: 11.94 kB / 0.7434 GB, free: 7.332 MB / 0.5419 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.0003384/0.6525, allocations: 447.8 kB / 0.7439 GB, free: 6.844 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.6526, allocations: 8.031 kB / 0.7439 GB, free: 6.836 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.6526, allocations: 19.77 kB / 0.7439 GB, free: 6.816 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.653, allocations: 283.6 kB / 0.7442 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.653, allocations: 4 kB / 0.7442 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.653, allocations: 0 / 0.7442 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.6531, allocations: 57.67 kB / 0.7442 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.6532, allocations: 0 / 0.7442 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6532, allocations: 7.938 kB / 0.7442 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.6532, allocations: 3.938 kB / 0.7442 GB, free: 6.418 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.6532, allocations: 23.95 kB / 0.7442 GB, free: 6.395 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.6534, allocations: 197.6 kB / 0.7444 GB, free: 6.152 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.623e-05/0.6535, allocations: 38.58 kB / 0.7445 GB, free: 6.105 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.6535, allocations: 28.86 kB / 0.7445 GB, free: 6.074 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.6536, allocations: 4.031 kB / 0.7445 GB, free: 6.07 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.6537, allocations: 101 kB / 0.7446 GB, free: 5.953 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.6537, allocations: 0 / 0.7446 GB, free: 5.953 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002365/0.6539, allocations: 147.1 kB / 0.7447 GB, free: 5.797 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.654, allocations: 77.11 kB / 0.7448 GB, free: 5.703 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.6542, allocations: 214.9 kB / 0.745 GB, free: 5.484 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.6542, allocations: 29.7 kB / 0.745 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.6542, allocations: 116.1 kB / 0.7452 GB, free: 5.332 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.6543, allocations: 27.89 kB / 0.7452 GB, free: 5.305 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.6543, allocations: 0 / 0.7452 GB, free: 5.305 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.6544, allocations: 334.8 kB / 0.7455 GB, free: 4.969 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.6544, allocations: 12 kB / 0.7455 GB, free: 4.957 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.6545, allocations: 20 kB / 0.7455 GB, free: 4.938 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.6545, allocations: 53.66 kB / 0.7456 GB, free: 4.879 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6545, allocations: 0 / 0.7456 GB, free: 4.879 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001672/0.6547, allocations: 143.2 kB / 0.7457 GB, free: 4.727 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.6547, allocations: 37.69 kB / 0.7458 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.6547, allocations: 0 / 0.7458 GB, free: 4.684 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.6548, allocations: 4 kB / 0.7458 GB, free: 4.68 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.956e-05/0.6548, allocations: 11.94 kB / 0.7458 GB, free: 4.668 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.6548, allocations: 0 / 0.7458 GB, free: 4.668 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.6549, allocations: 7.906 kB / 0.7458 GB, free: 4.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.6549, allocations: 11.95 kB / 0.7458 GB, free: 4.648 MB / 0.5419 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.655, allocations: 148.8 kB / 0.7459 GB, free: 4.492 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.655, allocations: 15.81 kB / 0.7459 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.6551, allocations: 25.45 kB / 0.746 GB, free: 4.449 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6551, allocations: 4 kB / 0.746 GB, free: 4.445 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6551, allocations: 4 kB / 0.746 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6551, allocations: 0 / 0.746 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.6552, allocations: 209.6 kB / 0.7462 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6552, allocations: 0 / 0.7462 GB, free: 4.188 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.6552, allocations: 4 kB / 0.7462 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6553, allocations: 0 / 0.7462 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.6553, allocations: 12 kB / 0.7462 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6553, allocations: 0 / 0.7462 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6553, allocations: 0 / 0.7462 GB, free: 4.172 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.6555, allocations: 198.5 kB / 0.7464 GB, free: 3.953 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.868e-05/0.6556, allocations: 104.8 kB / 0.7465 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.6556, allocations: 7.984 kB / 0.7465 GB, free: 3.824 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.6557, allocations: 0 / 0.7465 GB, free: 3.824 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.6557, allocations: 4 kB / 0.7465 GB, free: 3.82 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.6557, allocations: 12 kB / 0.7465 GB, free: 3.809 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.000122/0.6558, allocations: 165.9 kB / 0.7467 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6559, allocations: 0 / 0.7467 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002272/0.6561, allocations: 39.98 kB / 0.7467 GB, free: 3.609 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.6562, allocations: 133.9 kB / 0.7468 GB, free: 3.469 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.6564, allocations: 139.4 kB / 0.747 GB, free: 3.32 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6564, allocations: 0 / 0.747 GB, free: 3.32 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.6565, allocations: 111.3 kB / 0.7471 GB, free: 3.199 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.6567, allocations: 20.61 kB / 0.7471 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.657, allocations: 210.4 kB / 0.7473 GB, free: 2.949 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.6572, allocations: 0.7282 MB / 0.748 GB, free: 2.195 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.676e-05/0.6573, allocations: 25.42 kB / 0.748 GB, free: 2.172 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.6573, allocations: 11.44 kB / 0.748 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/0.6573, allocations: 0 / 0.748 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of Templates: time 0.003403/0.6607, allocations: 1.261 MB / 0.7493 GB, free: 0.9023 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches