Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.20..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.1..|der.xm.20..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.1.|v.20.|v.2.|v.3.|v.4.|v.5.|xm.1.|xm.20.|xm.2.|xm.3.|xm.4.|xm.5.|xs.1.|xs.20.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20") [: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.001211/0.001211, allocations: 189.4 kB / 8.137 MB, free: 2.211 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.198/1.198, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.001019/0.001019, allocations: 97.09 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.846/0.846, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.603e-06/6.983e-06, allocations: 0 / 0.5282 GB, free: 52.42 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1452, allocations: 82.84 MB / 0.6091 GB, free: 3.547 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6292/0.7745, allocations: 124.6 MB / 0.7307 GB, free: 5.062 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.7747, allocations: 62.41 kB / 0.7308 GB, free: 5.039 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01302/0.7878, allocations: 4.225 MB / 0.7349 GB, free: 1.656 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.7878, allocations: 11.94 kB / 0.7349 GB, free: 1.645 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001057/0.7889, allocations: 0.6295 MB / 0.7356 GB, free: 0.9805 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.7889, allocations: 8.031 kB / 0.7356 GB, free: 0.9727 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.039e-05/0.789, allocations: 27.72 kB / 0.7356 GB, free: 0.9453 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.7893, allocations: 243 kB / 0.7358 GB, free: 0.668 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.7894, allocations: 8 kB / 0.7358 GB, free: 0.6602 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.7895, allocations: 39.22 kB / 0.7359 GB, free: 0.6289 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003646/0.7898, allocations: 203.9 kB / 0.7361 GB, free: 480 kB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.7903, allocations: 317.7 kB / 0.7364 GB, free: 208 kB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.7903, allocations: 7.906 kB / 0.7364 GB, free: 200 kB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.7903, allocations: 4 kB / 0.7364 GB, free: 196 kB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7904, allocations: 4 kB / 0.7364 GB, free: 192 kB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.7911, allocations: 435.4 kB / 0.7368 GB, free: 15.77 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.7919, allocations: 441 kB / 0.7372 GB, free: 15.42 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.7922, allocations: 226.4 kB / 0.7374 GB, free: 15.26 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.7922, allocations: 4.5 kB / 0.7374 GB, free: 15.26 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.7923, allocations: 38.75 kB / 0.7375 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=60): time 2.114e-06/0.7923, allocations: 4 kB / 0.7375 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60): time 0.00176/0.794, allocations: 0.7244 MB / 0.7382 GB, free: 14.58 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.7941, allocations: 59.91 kB / 0.7382 GB, free: 14.51 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.7941, allocations: 103.4 kB / 0.7383 GB, free: 14.41 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.7942, allocations: 29.31 kB / 0.7384 GB, free: 14.38 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.7942, allocations: 85.45 kB / 0.7384 GB, free: 14.29 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.7944, allocations: 238.5 kB / 0.7387 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.7945, allocations: 0 / 0.7387 GB, free: 14.09 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.7946, allocations: 345.4 kB / 0.739 GB, free: 13.75 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.795, allocations: 249.5 kB / 0.7392 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.7954, allocations: 415.8 kB / 0.7396 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.7959, allocations: 327.6 kB / 0.74 GB, free: 12.92 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.7959, allocations: 0 / 0.74 GB, free: 12.92 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001958/0.7978, allocations: 0.9668 MB / 0.7409 GB, free: 12.09 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.7979, allocations: 4 kB / 0.7409 GB, free: 12.09 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.7979, allocations: 8.031 kB / 0.7409 GB, free: 12.08 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.7993, allocations: 305.8 kB / 0.7412 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.7999, allocations: 166.7 kB / 0.7414 GB, free: 11.64 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.8037, allocations: 2.664 MB / 0.744 GB, free: 9.188 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.804, allocations: 50.55 kB / 0.744 GB, free: 9.141 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.804, allocations: 27.25 kB / 0.744 GB, free: 9.117 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.8042, allocations: 120.5 kB / 0.7441 GB, free: 8.996 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.8043, allocations: 19.72 kB / 0.7442 GB, free: 8.977 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.8044, allocations: 63.97 kB / 0.7442 GB, free: 8.953 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8044, allocations: 4 kB / 0.7442 GB, free: 8.949 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.8044, allocations: 4 kB / 0.7442 GB, free: 8.945 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.8044, allocations: 3.984 kB / 0.7442 GB, free: 8.941 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.805, allocations: 438.7 kB / 0.7447 GB, free: 8.527 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.805, allocations: 0 / 0.7447 GB, free: 8.527 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/0.8058, allocations: 134.2 kB / 0.7448 GB, free: 8.402 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.8072, allocations: 314.8 kB / 0.7451 GB, free: 8.117 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.8073, allocations: 23.97 kB / 0.7451 GB, free: 8.094 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/0.811, allocations: 2.654 MB / 0.7477 GB, free: 5.656 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.811, allocations: 0 / 0.7477 GB, free: 5.656 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002091/0.8131, allocations: 1.118 MB / 0.7488 GB, free: 4.707 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/0.8132, allocations: 100.8 kB / 0.7489 GB, free: 4.59 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.8133, allocations: 27.88 kB / 0.7489 GB, free: 4.562 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.8135, allocations: 0 / 0.7489 GB, free: 4.562 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.8136, allocations: 32.2 kB / 0.7489 GB, free: 4.535 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.8136, allocations: 15.86 kB / 0.749 GB, free: 4.523 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.998e-05/0.8137, allocations: 83.28 kB / 0.749 GB, free: 4.441 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005491/0.8143, allocations: 111.9 kB / 0.7491 GB, free: 4.332 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.8145, allocations: 123.4 kB / 0.7493 GB, free: 4.207 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.8162, allocations: 0.8221 MB / 0.7501 GB, free: 3.516 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8163, allocations: 0 / 0.7501 GB, free: 3.516 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.8174, allocations: 0.5071 MB / 0.7506 GB, free: 3.074 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.8176, allocations: 8.641 kB / 0.7506 GB, free: 3.066 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.8217, allocations: 3.137 MB / 0.7536 GB, free: 15.95 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.8223, allocations: 0.8374 MB / 0.7545 GB, free: 15.1 MB / 0.5265 GB Notification: Performance of SimCode: time 7.61e-07/0.8223, allocations: 0 / 0.7545 GB, free: 15.1 MB / 0.5265 GB Notification: Performance of Templates: time 0.01042/0.8327, allocations: 5.74 MB / 0.7601 GB, free: 9.398 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches