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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0009164/0.0009164, allocations: 179.6 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007709/0.0007712, allocations: 82.42 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8216/0.8216, allocations: 120.4 MB / 440.6 MB, free: 4.082 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 12 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 80 MB / 0.5969 GB, free: 9.137 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5856/0.7095, allocations: 125.9 MB / 0.7199 GB, free: 18.62 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001051/0.7096, allocations: 54.08 kB / 0.7199 GB, free: 18.62 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.007362/0.717, allocations: 3.165 MB / 0.723 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.535e-06/0.717, allocations: 4 kB / 0.723 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.717, allocations: 0 / 0.723 GB, free: 16.53 MB / 0.4953 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.0003411/0.7174, allocations: 480.4 kB / 0.7235 GB, free: 16.01 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.7174, allocations: 8.031 kB / 0.7235 GB, free: 16 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.7174, allocations: 20.75 kB / 0.7235 GB, free: 15.98 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.7178, allocations: 303.5 kB / 0.7238 GB, free: 15.66 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.7178, allocations: 4.375 kB / 0.7238 GB, free: 15.66 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.7178, allocations: 384 / 0.7238 GB, free: 15.66 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.7179, allocations: 54 kB / 0.7239 GB, free: 15.61 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.7179, allocations: 192 / 0.7239 GB, free: 15.61 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7179, allocations: 7.922 kB / 0.7239 GB, free: 15.6 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7179, allocations: 4 kB / 0.7239 GB, free: 15.59 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.718, allocations: 15.81 kB / 0.7239 GB, free: 15.58 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.7181, allocations: 205 kB / 0.7241 GB, free: 15.35 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.7182, allocations: 45.62 kB / 0.7241 GB, free: 15.31 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.7182, allocations: 28.42 kB / 0.7241 GB, free: 15.29 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.7183, allocations: 0 / 0.7241 GB, free: 15.29 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.597e-05/0.7184, allocations: 104.8 kB / 0.7242 GB, free: 15.18 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.7184, allocations: 0 / 0.7242 GB, free: 15.18 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.000245/0.7186, allocations: 162 kB / 0.7244 GB, free: 15.03 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.7187, allocations: 84.97 kB / 0.7245 GB, free: 14.93 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.7188, allocations: 227.1 kB / 0.7247 GB, free: 14.72 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.7188, allocations: 25.7 kB / 0.7247 GB, free: 14.69 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.7189, allocations: 122.8 kB / 0.7248 GB, free: 14.59 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.7189, allocations: 23.64 kB / 0.7249 GB, free: 14.57 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.7189, allocations: 0 / 0.7249 GB, free: 14.57 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.719, allocations: 338.5 kB / 0.7252 GB, free: 14.24 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.719, allocations: 19.73 kB / 0.7252 GB, free: 14.23 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.7191, allocations: 19.81 kB / 0.7252 GB, free: 14.21 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.403e-05/0.7191, allocations: 103.3 kB / 0.7253 GB, free: 14.12 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7191, allocations: 3.938 kB / 0.7253 GB, free: 14.11 MB / 0.4953 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001417/0.7193, allocations: 142.5 kB / 0.7255 GB, free: 13.98 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7193, allocations: 45.5 kB / 0.7255 GB, free: 13.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7193, allocations: 1.375 kB / 0.7255 GB, free: 13.93 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7193, allocations: 0 / 0.7255 GB, free: 13.93 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.773e-05/0.7194, allocations: 8 kB / 0.7255 GB, free: 13.93 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7194, allocations: 0 / 0.7255 GB, free: 13.93 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.7195, allocations: 7.938 kB / 0.7255 GB, free: 13.92 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.7195, allocations: 8.781 kB / 0.7255 GB, free: 13.91 MB / 0.4953 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.955e-05/0.7196, allocations: 179.2 kB / 0.7257 GB, free: 13.73 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.7196, allocations: 23.75 kB / 0.7257 GB, free: 13.7 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.7196, allocations: 17.36 kB / 0.7257 GB, free: 13.69 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7197, allocations: 3.984 kB / 0.7257 GB, free: 13.68 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7197, allocations: 3.984 kB / 0.7257 GB, free: 13.68 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.7197, allocations: 4 kB / 0.7257 GB, free: 13.68 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.928e-05/0.7198, allocations: 212.1 kB / 0.726 GB, free: 13.44 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7198, allocations: 0.875 kB / 0.726 GB, free: 13.44 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.7198, allocations: 4 kB / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.7198, allocations: 3.938 kB / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7198, allocations: 4 kB / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7198, allocations: 96 / 0.726 GB, free: 13.43 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7198, allocations: 7.938 kB / 0.726 GB, free: 13.42 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.72, allocations: 193.5 kB / 0.7262 GB, free: 13.23 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.7201, allocations: 96.91 kB / 0.7262 GB, free: 13.12 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.7201, allocations: 11.88 kB / 0.7263 GB, free: 13.11 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.7202, allocations: 7.938 kB / 0.7263 GB, free: 13.11 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.7202, allocations: 3.984 kB / 0.7263 GB, free: 13.1 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.7202, allocations: 11.98 kB / 0.7263 GB, free: 13.09 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 9.816e-05/0.7203, allocations: 176.8 kB / 0.7265 GB, free: 12.94 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7203, allocations: 0 / 0.7265 GB, free: 12.94 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002155/0.7205, allocations: 36 kB / 0.7265 GB, free: 12.91 MB / 0.4953 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) * 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 (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.0001243/0.7207, allocations: 128.8 kB / 0.7266 GB, free: 12.77 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.7208, allocations: 141.7 kB / 0.7267 GB, free: 12.66 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7208, allocations: 0 / 0.7267 GB, free: 12.66 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 6.396e-05/0.7209, allocations: 114.3 kB / 0.7269 GB, free: 12.56 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.7211, allocations: 16.42 kB / 0.7269 GB, free: 12.55 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.7215, allocations: 309.8 kB / 0.7272 GB, free: 12.23 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.7216, allocations: 0.7242 MB / 0.7279 GB, free: 11.48 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 6.838e-05/0.7217, allocations: 29.62 kB / 0.7279 GB, free: 11.46 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.7217, allocations: 11.44 kB / 0.7279 GB, free: 11.45 MB / 0.4953 GB Notification: Performance of SimCode: time 2.2e-07/0.7217, allocations: 3.938 kB / 0.7279 GB, free: 11.44 MB / 0.4953 GB Notification: Performance of Templates: time 0.004261/0.726, allocations: 1.265 MB / 0.7291 GB, free: 10.19 MB / 0.4953 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