Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 183.3 kB / 8.13 MB, free: 2.215 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.215/1.215, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009624/0.0009624, allocations: 109.8 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7225/0.7225, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.054e-06/7.164e-06, allocations: 0 / 0.5282 GB, free: 52.48 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 82.86 MB / 0.6091 GB, free: 3.551 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5376/0.6704, allocations: 124.5 MB / 0.7307 GB, free: 4.781 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001677/0.6706, allocations: 51.81 kB / 0.7307 GB, free: 4.766 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.002612/0.6733, allocations: 0.71 MB / 0.7314 GB, free: 4.383 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6733, allocations: 0 / 0.7314 GB, free: 4.383 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000266/0.6736, allocations: 345.4 kB / 0.7317 GB, free: 4.012 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6736, allocations: 8.031 kB / 0.7317 GB, free: 4.004 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.6736, allocations: 7.906 kB / 0.7318 GB, free: 3.996 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.6738, allocations: 182.2 kB / 0.7319 GB, free: 3.781 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.6738, allocations: 0 / 0.7319 GB, free: 3.781 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6738, allocations: 7.906 kB / 0.7319 GB, free: 3.773 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.268e-05/0.6739, allocations: 33.05 kB / 0.732 GB, free: 3.754 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.674, allocations: 63.47 kB / 0.732 GB, free: 3.703 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.674, allocations: 3.125 kB / 0.732 GB, free: 3.703 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6741, allocations: 1.625 kB / 0.732 GB, free: 3.703 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6741, allocations: 0 / 0.732 GB, free: 3.703 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.6742, allocations: 157.4 kB / 0.7322 GB, free: 3.527 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.6743, allocations: 69.78 kB / 0.7323 GB, free: 3.465 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.6744, allocations: 31.06 kB / 0.7323 GB, free: 3.441 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.6744, allocations: 7.984 kB / 0.7323 GB, free: 3.434 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.6744, allocations: 30.56 kB / 0.7323 GB, free: 3.395 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.6744, allocations: 0 / 0.7323 GB, free: 3.395 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0001753/0.6746, allocations: 86.67 kB / 0.7324 GB, free: 3.32 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.6746, allocations: 51.64 kB / 0.7324 GB, free: 3.258 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.227e-05/0.6747, allocations: 100.7 kB / 0.7325 GB, free: 3.156 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.6747, allocations: 25.7 kB / 0.7326 GB, free: 3.125 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.6747, allocations: 83.52 kB / 0.7327 GB, free: 3.043 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.6748, allocations: 41.66 kB / 0.7327 GB, free: 3.012 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.6748, allocations: 0 / 0.7327 GB, free: 3.012 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.6749, allocations: 314.7 kB / 0.733 GB, free: 18.7 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.6749, allocations: 37.73 kB / 0.733 GB, free: 18.68 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.675, allocations: 71.58 kB / 0.7331 GB, free: 18.6 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.675, allocations: 51.72 kB / 0.7331 GB, free: 18.57 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6751, allocations: 0.8438 kB / 0.7331 GB, free: 18.57 MB / 0.5109 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001611/0.6752, allocations: 131.8 kB / 0.7333 GB, free: 18.47 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6752, allocations: 12.12 kB / 0.7333 GB, free: 18.46 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6753, allocations: 0 / 0.7333 GB, free: 18.46 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6753, allocations: 4 kB / 0.7333 GB, free: 18.45 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.6754, allocations: 32.3 kB / 0.7333 GB, free: 18.43 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6755, allocations: 4 kB / 0.7333 GB, free: 18.42 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.6755, allocations: 11.84 kB / 0.7333 GB, free: 18.41 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.6755, allocations: 7.188 kB / 0.7333 GB, free: 18.41 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 7.224e-05/0.6756, allocations: 108.9 kB / 0.7334 GB, free: 18.29 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.6756, allocations: 6.203 kB / 0.7334 GB, free: 18.29 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.6757, allocations: 15.5 kB / 0.7335 GB, free: 18.27 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6757, allocations: 2 kB / 0.7335 GB, free: 18.27 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6757, allocations: 0 / 0.7335 GB, free: 18.27 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6757, allocations: 0 / 0.7335 GB, free: 18.27 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.6758, allocations: 157 kB / 0.7336 GB, free: 18.1 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6758, allocations: 0.6094 kB / 0.7336 GB, free: 18.1 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.676, allocations: 27.23 kB / 0.7336 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.676, allocations: 0.6562 kB / 0.7336 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.676, allocations: 5.781 kB / 0.7336 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.676, allocations: 160 / 0.7336 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.676, allocations: 0 / 0.7336 GB, free: 18.07 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001707/0.6762, allocations: 158.8 kB / 0.7338 GB, free: 17.93 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.6763, allocations: 85.8 kB / 0.7339 GB, free: 17.83 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.6763, allocations: 1.922 kB / 0.7339 GB, free: 17.83 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.6763, allocations: 7.938 kB / 0.7339 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.28e-05/0.6764, allocations: 9.344 kB / 0.7339 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.6764, allocations: 4 kB / 0.7339 GB, free: 17.81 MB / 0.5109 GB Notification: Performance of sort global known variables: time 6.011e-05/0.6764, allocations: 79.23 kB / 0.734 GB, free: 17.74 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0001952/0.6767, allocations: 20 kB / 0.734 GB, free: 17.72 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.000101/0.6768, allocations: 97.69 kB / 0.7341 GB, free: 17.62 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6769, allocations: 77.34 kB / 0.7342 GB, free: 17.56 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6769, allocations: 0 / 0.7342 GB, free: 17.56 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.6769, allocations: 40.66 kB / 0.7342 GB, free: 17.54 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.6771, allocations: 1.516 kB / 0.7342 GB, free: 17.54 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.6778, allocations: 0.5998 MB / 0.7348 GB, free: 16.98 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.678, allocations: 0.7085 MB / 0.7355 GB, free: 16.25 MB / 0.5109 GB Notification: Performance of SimCode: time 9.31e-07/0.678, allocations: 0 / 0.7355 GB, free: 16.25 MB / 0.5109 GB Notification: Performance of Templates: time 0.002377/0.6804, allocations: 0.8058 MB / 0.7363 GB, free: 15.48 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches