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.0009803/0.0009804, allocations: 175.7 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.0009206/0.0009206, allocations: 96.06 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9923/0.9923, allocations: 120.4 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.413e-05/1.414e-05, allocations: 0 / 0.5288 GB, free: 1.312 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6659, allocations: 82.84 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.849, allocations: 126 MB / 0.7327 GB, free: 14.94 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.8492, allocations: 51.97 kB / 0.7327 GB, free: 14.89 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.009269/0.8585, allocations: 3.172 MB / 0.7358 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.185e-06/0.8585, allocations: 0 / 0.7358 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.8586, allocations: 0 / 0.7358 GB, free: 11.71 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.000461/0.859, allocations: 439.9 kB / 0.7363 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.8591, allocations: 12.02 kB / 0.7363 GB, free: 11.22 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.8592, allocations: 23.75 kB / 0.7363 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.8596, allocations: 287.6 kB / 0.7366 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.8596, allocations: 4 kB / 0.7366 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.8596, allocations: 7.938 kB / 0.7366 GB, free: 10.86 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.716e-05/0.8597, allocations: 19.98 kB / 0.7366 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.425e-05/0.8598, allocations: 49.67 kB / 0.7366 GB, free: 10.79 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.8598, allocations: 7.938 kB / 0.7366 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.8599, allocations: 0 / 0.7366 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8599, allocations: 3.953 kB / 0.7366 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.8601, allocations: 174.2 kB / 0.7368 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.8602, allocations: 42.58 kB / 0.7369 GB, free: 10.52 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.8602, allocations: 24.86 kB / 0.7369 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.8603, allocations: 0 / 0.7369 GB, free: 10.49 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.8604, allocations: 101.1 kB / 0.737 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.8604, allocations: 0 / 0.737 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002914/0.8607, allocations: 105.4 kB / 0.7371 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.8608, allocations: 85.09 kB / 0.7372 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.861, allocations: 199.2 kB / 0.7373 GB, free: 9.961 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.861, allocations: 29.64 kB / 0.7374 GB, free: 9.926 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.8611, allocations: 124.1 kB / 0.7375 GB, free: 9.801 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.8611, allocations: 15.75 kB / 0.7375 GB, free: 9.785 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.8611, allocations: 4 kB / 0.7375 GB, free: 9.781 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8613, allocations: 326.8 kB / 0.7378 GB, free: 9.453 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.8613, allocations: 19.98 kB / 0.7378 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.8613, allocations: 15.94 kB / 0.7379 GB, free: 9.418 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.8614, allocations: 20 kB / 0.7379 GB, free: 9.398 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8614, allocations: 4 kB / 0.7379 GB, free: 9.395 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000173/0.8616, allocations: 113.5 kB / 0.738 GB, free: 9.277 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.8617, allocations: 37.69 kB / 0.738 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.8617, allocations: 0 / 0.738 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8617, allocations: 0 / 0.738 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.8617, allocations: 7.938 kB / 0.738 GB, free: 9.227 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8618, allocations: 0 / 0.738 GB, free: 9.227 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.8618, allocations: 7.906 kB / 0.738 GB, free: 9.219 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.8618, allocations: 12 kB / 0.7381 GB, free: 9.207 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 0.0001089/0.862, allocations: 146.8 kB / 0.7382 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.862, allocations: 23.73 kB / 0.7382 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.8621, allocations: 21.83 kB / 0.7382 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8621, allocations: 0 / 0.7382 GB, free: 9.008 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.8621, allocations: 4 kB / 0.7382 GB, free: 9.004 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.8621, allocations: 0 / 0.7382 GB, free: 9.004 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.8622, allocations: 190.3 kB / 0.7384 GB, free: 8.781 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8622, allocations: 4 kB / 0.7384 GB, free: 8.777 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.8623, allocations: 3.984 kB / 0.7384 GB, free: 8.773 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8623, allocations: 0 / 0.7384 GB, free: 8.773 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.8623, allocations: 8 kB / 0.7384 GB, free: 8.766 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8623, allocations: 96 / 0.7384 GB, free: 8.766 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.8623, allocations: 7.938 kB / 0.7384 GB, free: 8.758 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.8626, allocations: 152.9 kB / 0.7386 GB, free: 8.59 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.8626, allocations: 112.7 kB / 0.7387 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.8627, allocations: 0 / 0.7387 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.8627, allocations: 4 kB / 0.7387 GB, free: 8.457 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.8628, allocations: 7.984 kB / 0.7387 GB, free: 8.449 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.8628, allocations: 12 kB / 0.7387 GB, free: 8.438 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001314/0.8629, allocations: 165.6 kB / 0.7389 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8629, allocations: 0 / 0.7389 GB, free: 8.277 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002256/0.8632, allocations: 36 kB / 0.7389 GB, free: 8.242 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.0001824/0.8634, allocations: 123.2 kB / 0.739 GB, free: 8.113 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.8636, allocations: 131.4 kB / 0.7392 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8636, allocations: 0 / 0.7392 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.8637, allocations: 111.3 kB / 0.7393 GB, free: 7.852 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.8639, allocations: 16.67 kB / 0.7393 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.8643, allocations: 205.4 kB / 0.7395 GB, free: 7.609 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.8646, allocations: 0.7279 MB / 0.7402 GB, free: 6.855 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.63e-05/0.8647, allocations: 29.41 kB / 0.7402 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.8647, allocations: 15.44 kB / 0.7402 GB, free: 6.812 MB / 0.5419 GB Notification: Performance of SimCode: time 3.1e-07/0.8647, allocations: 0 / 0.7402 GB, free: 6.812 MB / 0.5419 GB Notification: Performance of Templates: time 0.003968/0.8687, allocations: 1.189 MB / 0.7414 GB, free: 5.625 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/jenkins/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