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.0009982/0.0009981, allocations: 176.5 kB / 8.349 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.279/1.279, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009002/0.0009002, allocations: 89.3 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.9133/0.9133, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.136e-05, allocations: 0 / 0.5288 GB, free: 1.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5507, allocations: 82.85 MB / 0.6097 GB, free: 13.07 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.6933, allocations: 126 MB / 0.7327 GB, free: 14.95 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001334/0.6934, allocations: 55.91 kB / 0.7327 GB, free: 14.9 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008747/0.7022, allocations: 3.164 MB / 0.7358 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7022, allocations: 0 / 0.7358 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.7022, allocations: 0 / 0.7358 GB, free: 11.73 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.0003592/0.7026, allocations: 439.7 kB / 0.7363 GB, free: 11.25 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7027, allocations: 16.02 kB / 0.7363 GB, free: 11.23 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.7027, allocations: 23.7 kB / 0.7363 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.7031, allocations: 287.6 kB / 0.7366 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.7031, allocations: 0 / 0.7366 GB, free: 10.89 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.7031, allocations: 4 kB / 0.7366 GB, free: 10.88 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.604e-05/0.7032, allocations: 23.97 kB / 0.7366 GB, free: 10.86 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.7033, allocations: 45.69 kB / 0.7366 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7033, allocations: 4 kB / 0.7366 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7033, allocations: 3.938 kB / 0.7366 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7033, allocations: 3.953 kB / 0.7366 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.7035, allocations: 178.2 kB / 0.7368 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.7036, allocations: 38.52 kB / 0.7369 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.7036, allocations: 28.86 kB / 0.7369 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.7037, allocations: 0 / 0.7369 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.7038, allocations: 97.08 kB / 0.737 GB, free: 10.39 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.7038, allocations: 0 / 0.737 GB, free: 10.39 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.000253/0.7041, allocations: 113.4 kB / 0.7371 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.7041, allocations: 89.03 kB / 0.7372 GB, free: 10.17 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.7043, allocations: 195.2 kB / 0.7374 GB, free: 9.973 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.7043, allocations: 25.7 kB / 0.7374 GB, free: 9.941 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.7044, allocations: 124.1 kB / 0.7375 GB, free: 9.816 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.7044, allocations: 15.75 kB / 0.7375 GB, free: 9.801 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.7044, allocations: 4 kB / 0.7375 GB, free: 9.797 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.7045, allocations: 326.8 kB / 0.7378 GB, free: 9.469 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.7046, allocations: 20 kB / 0.7378 GB, free: 9.449 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.7046, allocations: 15.98 kB / 0.7379 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.526e-05/0.7046, allocations: 20 kB / 0.7379 GB, free: 9.414 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7047, allocations: 0 / 0.7379 GB, free: 9.414 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001647/0.7048, allocations: 117.4 kB / 0.738 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.7049, allocations: 35.11 kB / 0.738 GB, free: 9.254 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.7049, allocations: 0 / 0.738 GB, free: 9.254 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.7049, allocations: 3.984 kB / 0.738 GB, free: 9.25 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.322e-05/0.705, allocations: 4 kB / 0.738 GB, free: 9.246 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.705, allocations: 0 / 0.738 GB, free: 9.246 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.705, allocations: 11.91 kB / 0.738 GB, free: 9.234 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.7051, allocations: 8 kB / 0.7381 GB, free: 9.227 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.0001/0.7052, allocations: 146.8 kB / 0.7382 GB, free: 9.07 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.7052, allocations: 19.8 kB / 0.7382 GB, free: 9.051 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.7052, allocations: 21.78 kB / 0.7382 GB, free: 9.031 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.7052, allocations: 4 kB / 0.7382 GB, free: 9.027 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7052, allocations: 7.984 kB / 0.7382 GB, free: 9.02 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7053, allocations: 0 / 0.7382 GB, free: 9.02 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.7054, allocations: 190.4 kB / 0.7384 GB, free: 8.797 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.7054, allocations: 7.938 kB / 0.7384 GB, free: 8.789 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.7054, allocations: 3.984 kB / 0.7384 GB, free: 8.785 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7054, allocations: 0 / 0.7384 GB, free: 8.785 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.7055, allocations: 4 kB / 0.7384 GB, free: 8.781 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7055, allocations: 4 kB / 0.7384 GB, free: 8.777 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.7055, allocations: 3.938 kB / 0.7384 GB, free: 8.773 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.7057, allocations: 148.9 kB / 0.7386 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.7058, allocations: 112.7 kB / 0.7387 GB, free: 8.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.7058, allocations: 4 kB / 0.7387 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.7058, allocations: 4 kB / 0.7387 GB, free: 8.473 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.7059, allocations: 7.984 kB / 0.7387 GB, free: 8.465 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.7059, allocations: 4 kB / 0.7387 GB, free: 8.461 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.0001171/0.706, allocations: 165.6 kB / 0.7389 GB, free: 8.301 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.706, allocations: 0 / 0.7389 GB, free: 8.301 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002304/0.7063, allocations: 36 kB / 0.7389 GB, free: 8.266 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.0001603/0.7064, allocations: 127.2 kB / 0.739 GB, free: 8.133 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.7066, allocations: 135.3 kB / 0.7392 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7066, allocations: 0 / 0.7392 GB, free: 7.988 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.809e-05/0.7067, allocations: 111.4 kB / 0.7393 GB, free: 7.867 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.7069, allocations: 16.67 kB / 0.7393 GB, free: 7.848 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.7072, allocations: 201.4 kB / 0.7395 GB, free: 7.629 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.7075, allocations: 0.7318 MB / 0.7402 GB, free: 6.871 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.235e-05/0.7076, allocations: 25.41 kB / 0.7402 GB, free: 6.848 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.7076, allocations: 15.44 kB / 0.7402 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of SimCode: time 4.51e-07/0.7076, allocations: 0 / 0.7402 GB, free: 6.832 MB / 0.5419 GB Notification: Performance of Templates: time 0.003469/0.7111, allocations: 1.197 MB / 0.7414 GB, free: 5.637 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