Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|time|time|v.1.|v.2.|v.3.|v.4.|xm.1.|xm.2.|xm.3.|xm.4.|xs.1.|xs.2.|xs.3.|xs.4.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [: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.0009935/0.0009936, allocations: 179 kB / 8.132 MB, free: 0.875 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.09/1.09, allocations: 221.4 MB / 229.9 MB, free: 13.48 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 103.3 kB / 280.8 MB, free: 10.57 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6343/0.6343, allocations: 120.4 MB / 452 MB, free: 2.52 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 4.598e-06/4.618e-06, allocations: 0 / 0.5282 GB, free: 9.777 MB / 418.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3583, allocations: 82.84 MB / 0.6091 GB, free: 4.777 MB / 418.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4838, allocations: 124.5 MB / 0.7307 GB, free: 8.105 MB / 0.5341 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001195/0.484, allocations: 43.98 kB / 0.7308 GB, free: 8.062 MB / 0.5341 GB Notification: Performance of FrontEnd: time 0.003431/0.4874, allocations: 0.9679 MB / 0.7317 GB, free: 7.094 MB / 0.5341 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4875, allocations: 8 kB / 0.7317 GB, free: 7.086 MB / 0.5341 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003669/0.4878, allocations: 364.6 kB / 0.7321 GB, free: 6.688 MB / 0.5341 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.4879, allocations: 12.03 kB / 0.7321 GB, free: 6.676 MB / 0.5341 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.4879, allocations: 3.906 kB / 0.7321 GB, free: 6.672 MB / 0.5341 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.4881, allocations: 182.9 kB / 0.7322 GB, free: 6.453 MB / 0.5341 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.4881, allocations: 3.938 kB / 0.7322 GB, free: 6.449 MB / 0.5341 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.4881, allocations: 11.98 kB / 0.7323 GB, free: 6.438 MB / 0.5341 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/0.4882, allocations: 39.92 kB / 0.7323 GB, free: 6.398 MB / 0.5341 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4884, allocations: 89.58 kB / 0.7324 GB, free: 6.305 MB / 0.5341 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4884, allocations: 11.89 kB / 0.7324 GB, free: 6.293 MB / 0.5341 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.4884, allocations: 0 / 0.7324 GB, free: 6.293 MB / 0.5341 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.4884, allocations: 0 / 0.7324 GB, free: 6.293 MB / 0.5341 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.4886, allocations: 186.2 kB / 0.7326 GB, free: 6.074 MB / 0.5341 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.489, allocations: 130.4 kB / 0.7327 GB, free: 5.938 MB / 0.5341 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.4891, allocations: 44.84 kB / 0.7327 GB, free: 5.891 MB / 0.5341 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.4891, allocations: 4 kB / 0.7327 GB, free: 5.887 MB / 0.5341 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.4891, allocations: 34.56 kB / 0.7328 GB, free: 5.844 MB / 0.5341 GB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.4891, allocations: 0 / 0.7328 GB, free: 5.844 MB / 0.5341 GB Notification: Performance of matching and sorting (n=12): time 0.0004198/0.4895, allocations: 167 kB / 0.7329 GB, free: 5.668 MB / 0.5341 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.4896, allocations: 51.41 kB / 0.733 GB, free: 5.605 MB / 0.5341 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.4896, allocations: 96.98 kB / 0.7331 GB, free: 5.504 MB / 0.5341 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.4896, allocations: 25.7 kB / 0.7331 GB, free: 5.473 MB / 0.5341 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.4897, allocations: 84.14 kB / 0.7332 GB, free: 5.387 MB / 0.5341 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.4897, allocations: 51.3 kB / 0.7332 GB, free: 5.336 MB / 0.5341 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.4897, allocations: 0 / 0.7332 GB, free: 5.336 MB / 0.5341 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.4898, allocations: 326.7 kB / 0.7335 GB, free: 5.008 MB / 0.5341 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.4899, allocations: 47.94 kB / 0.7336 GB, free: 4.961 MB / 0.5341 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/0.49, allocations: 80.27 kB / 0.7337 GB, free: 4.867 MB / 0.5341 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.4901, allocations: 67.95 kB / 0.7337 GB, free: 4.801 MB / 0.5341 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4901, allocations: 0 / 0.7337 GB, free: 4.801 MB / 0.5341 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004017/0.4905, allocations: 218.2 kB / 0.7339 GB, free: 4.578 MB / 0.5341 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4905, allocations: 4.125 kB / 0.7339 GB, free: 4.574 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4905, allocations: 8 kB / 0.7339 GB, free: 4.566 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.4909, allocations: 56.8 kB / 0.734 GB, free: 4.508 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.491, allocations: 31.98 kB / 0.734 GB, free: 4.477 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.4922, allocations: 1.401 MB / 0.7354 GB, free: 2.957 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.4923, allocations: 7.844 kB / 0.7354 GB, free: 2.949 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4923, allocations: 8 kB / 0.7354 GB, free: 2.941 MB / 0.5341 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.4924, allocations: 112.9 kB / 0.7355 GB, free: 2.824 MB / 0.5341 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.4924, allocations: 4 kB / 0.7355 GB, free: 2.82 MB / 0.5341 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.4924, allocations: 19.95 kB / 0.7355 GB, free: 2.805 MB / 0.5341 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4924, allocations: 0 / 0.7355 GB, free: 2.805 MB / 0.5341 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4924, allocations: 8.062 kB / 0.7356 GB, free: 2.797 MB / 0.5341 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4924, allocations: 0 / 0.7356 GB, free: 2.797 MB / 0.5341 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.4926, allocations: 186.1 kB / 0.7357 GB, free: 2.578 MB / 0.5341 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4926, allocations: 0 / 0.7357 GB, free: 2.578 MB / 0.5341 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.4928, allocations: 23.98 kB / 0.7358 GB, free: 2.555 MB / 0.5341 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.4931, allocations: 60.73 kB / 0.7358 GB, free: 2.492 MB / 0.5341 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.4931, allocations: 11.98 kB / 0.7358 GB, free: 2.48 MB / 0.5341 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4941, allocations: 1.4 MB / 0.7372 GB, free: 0.9609 MB / 0.5341 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4941, allocations: 3.938 kB / 0.7372 GB, free: 0.957 MB / 0.5341 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004111/0.4946, allocations: 254.1 kB / 0.7374 GB, free: 0.6875 MB / 0.5341 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.4946, allocations: 81.02 kB / 0.7375 GB, free: 0.5898 MB / 0.5341 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4946, allocations: 4 kB / 0.7375 GB, free: 0.5859 MB / 0.5341 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/0.4947, allocations: 0 / 0.7375 GB, free: 0.5859 MB / 0.5341 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.4947, allocations: 7.984 kB / 0.7375 GB, free: 0.5781 MB / 0.5341 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.4947, allocations: 8 kB / 0.7375 GB, free: 0.5703 MB / 0.5341 GB Notification: Performance of sort global known variables: time 2.45e-05/0.4948, allocations: 75.28 kB / 0.7376 GB, free: 0.4961 MB / 0.5341 GB Notification: Performance of remove unused functions: time 0.0002433/0.495, allocations: 24 kB / 0.7376 GB, free: 484 kB / 0.5341 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001015/0.4951, allocations: 104.5 kB / 0.7377 GB, free: 372 kB / 0.5341 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.4955, allocations: 241.6 kB / 0.738 GB, free: 120 kB / 0.5341 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4955, allocations: 0 / 0.738 GB, free: 120 kB / 0.5341 GB Notification: Performance of simCode: created simulation system equations: time 0.2405/0.7361, allocations: 173.1 kB / 0.7381 GB, free: 181.2 MB / 0.5344 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.7363, allocations: 6.625 kB / 0.7381 GB, free: 181.2 MB / 0.5344 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006992/0.737, allocations: 0.6261 MB / 0.7387 GB, free: 180.9 MB / 0.5344 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.7371, allocations: 0.7118 MB / 0.7394 GB, free: 180.2 MB / 0.5344 GB Notification: Performance of SimCode: time 9.82e-07/0.7371, allocations: 0 / 0.7394 GB, free: 180.2 MB / 0.5344 GB Notification: Performance of Templates: time 0.002953/0.7401, allocations: 1.381 MB / 0.7408 GB, free: 180.1 MB / 0.5344 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches