Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001004/0.001004, allocations: 183.7 kB / 8.134 MB, free: 2.191 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.087/1.087, allocations: 221.4 MB / 230 MB, free: 3.258 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.0008866/0.0008866, allocations: 99.77 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6324/0.6324, allocations: 120.5 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.49e-06, allocations: 0 / 0.5282 GB, free: 50.18 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 82.85 MB / 0.6091 GB, free: 1.289 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.5664, allocations: 124.5 MB / 0.7307 GB, free: 3.281 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001452/0.5666, allocations: 53.59 kB / 0.7307 GB, free: 3.254 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.002563/0.5692, allocations: 0.7075 MB / 0.7314 GB, free: 2.656 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5692, allocations: 4 kB / 0.7314 GB, free: 2.652 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.0002715/0.5695, allocations: 339.9 kB / 0.7317 GB, free: 2.277 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5695, allocations: 11.97 kB / 0.7318 GB, free: 2.266 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.5696, allocations: 7.906 kB / 0.7318 GB, free: 2.25 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5697, allocations: 178.9 kB / 0.7319 GB, free: 2.039 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.5697, allocations: 0 / 0.7319 GB, free: 2.039 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.5698, allocations: 15.89 kB / 0.7319 GB, free: 2.023 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.281e-05/0.5699, allocations: 23.17 kB / 0.732 GB, free: 2.004 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.782e-05/0.5699, allocations: 62.61 kB / 0.732 GB, free: 1.945 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.57, allocations: 7.984 kB / 0.732 GB, free: 1.938 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.57, allocations: 0 / 0.732 GB, free: 1.938 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.57, allocations: 0 / 0.732 GB, free: 1.938 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.5701, allocations: 159.7 kB / 0.7322 GB, free: 1.75 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.5702, allocations: 76.73 kB / 0.7323 GB, free: 1.68 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.5703, allocations: 32.47 kB / 0.7323 GB, free: 1.652 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5703, allocations: 0 / 0.7323 GB, free: 1.652 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.5703, allocations: 30.56 kB / 0.7323 GB, free: 1.613 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 6.91e-07/0.5703, allocations: 0 / 0.7323 GB, free: 1.613 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0001671/0.5705, allocations: 84.52 kB / 0.7324 GB, free: 1.531 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.5705, allocations: 55.41 kB / 0.7325 GB, free: 1.465 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.5706, allocations: 103.5 kB / 0.7326 GB, free: 1.359 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.5706, allocations: 25.7 kB / 0.7326 GB, free: 1.328 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.337e-05/0.5706, allocations: 80.14 kB / 0.7327 GB, free: 1.246 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.5706, allocations: 38.14 kB / 0.7327 GB, free: 1.215 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.5706, allocations: 0 / 0.7327 GB, free: 1.215 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.5707, allocations: 321.9 kB / 0.733 GB, free: 0.8945 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.5707, allocations: 30.8 kB / 0.733 GB, free: 0.8711 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.5708, allocations: 79.17 kB / 0.7331 GB, free: 0.793 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.5709, allocations: 42.86 kB / 0.7331 GB, free: 0.7617 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5709, allocations: 0 / 0.7331 GB, free: 0.7617 MB / 0.4953 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001534/0.571, allocations: 138.6 kB / 0.7333 GB, free: 0.6367 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.571, allocations: 4.844 kB / 0.7333 GB, free: 0.6328 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5711, allocations: 8.125 kB / 0.7333 GB, free: 0.625 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5711, allocations: 0 / 0.7333 GB, free: 0.625 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.5712, allocations: 35.92 kB / 0.7333 GB, free: 0.5898 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.5712, allocations: 160 / 0.7333 GB, free: 0.5898 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.5713, allocations: 11.84 kB / 0.7333 GB, free: 0.5781 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.5713, allocations: 11.42 kB / 0.7333 GB, free: 0.5703 MB / 0.4953 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 4.322e-05/0.5714, allocations: 104.9 kB / 0.7334 GB, free: 472 kB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.5714, allocations: 7.906 kB / 0.7335 GB, free: 464 kB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.5714, allocations: 14.69 kB / 0.7335 GB, free: 456 kB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5714, allocations: 8 kB / 0.7335 GB, free: 448 kB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5714, allocations: 3.984 kB / 0.7335 GB, free: 444 kB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5714, allocations: 0 / 0.7335 GB, free: 444 kB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.785e-05/0.5715, allocations: 156.9 kB / 0.7336 GB, free: 256 kB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5715, allocations: 0 / 0.7336 GB, free: 256 kB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.5717, allocations: 27.98 kB / 0.7337 GB, free: 228 kB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5717, allocations: 0 / 0.7337 GB, free: 228 kB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5718, allocations: 4 kB / 0.7337 GB, free: 224 kB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5718, allocations: 0 / 0.7337 GB, free: 224 kB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5718, allocations: 0 / 0.7337 GB, free: 224 kB / 0.4953 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001576/0.5719, allocations: 154.3 kB / 0.7338 GB, free: 72 kB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.572, allocations: 81.05 kB / 0.7339 GB, free: 15.97 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.5721, allocations: 7.984 kB / 0.7339 GB, free: 15.96 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.5721, allocations: 3.938 kB / 0.7339 GB, free: 15.96 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.5721, allocations: 7.906 kB / 0.7339 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.5721, allocations: 0 / 0.7339 GB, free: 15.95 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.482e-05/0.5722, allocations: 79.28 kB / 0.734 GB, free: 15.87 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0001979/0.5724, allocations: 15.98 kB / 0.734 GB, free: 15.86 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.0001192/0.5725, allocations: 103.9 kB / 0.7341 GB, free: 15.75 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.5727, allocations: 81.84 kB / 0.7342 GB, free: 15.68 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5727, allocations: 0 / 0.7342 GB, free: 15.68 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.5727, allocations: 31.38 kB / 0.7342 GB, free: 15.66 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.5729, allocations: 7.984 kB / 0.7342 GB, free: 15.65 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.5738, allocations: 0.5937 MB / 0.7348 GB, free: 15.05 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.5742, allocations: 0.7113 MB / 0.7355 GB, free: 14.31 MB / 0.5109 GB Notification: Performance of SimCode: time 2.41e-07/0.5742, allocations: 0 / 0.7355 GB, free: 14.31 MB / 0.5109 GB Notification: Performance of Templates: time 0.002629/0.5768, allocations: 0.8044 MB / 0.7363 GB, free: 13.55 MB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches