Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.xm.10..|der.xm.1..|der.xm.2..|der.xm.3..|der.xm.4..|der.xm.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|xm.10.|xm.1.|xm.2.|xm.3.|xm.4.|xm.5.|xs.10.|xs.1.|xs.2.|xs.3.|xs.4.|xs.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [: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.001135/0.001135, allocations: 188.7 kB / 8.139 MB, free: 2.184 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.116/1.116, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009957/0.0009958, allocations: 91.78 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6494/0.6495, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/6.011e-06, allocations: 0 / 0.5282 GB, free: 52.48 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 82.86 MB / 0.6091 GB, free: 3.574 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5787, allocations: 124.6 MB / 0.7307 GB, free: 5.453 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001465/0.5789, allocations: 58.91 kB / 0.7308 GB, free: 5.43 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.006606/0.5855, allocations: 2.167 MB / 0.7329 GB, free: 3.93 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5855, allocations: 4 kB / 0.7329 GB, free: 3.926 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005462/0.5861, allocations: 465.9 kB / 0.7334 GB, free: 3.43 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.5861, allocations: 8.031 kB / 0.7334 GB, free: 3.422 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.5862, allocations: 19.8 kB / 0.7334 GB, free: 3.402 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.5864, allocations: 202 kB / 0.7336 GB, free: 3.168 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.5864, allocations: 4 kB / 0.7336 GB, free: 3.164 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.5864, allocations: 23.84 kB / 0.7336 GB, free: 3.145 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001724/0.5866, allocations: 98.69 kB / 0.7337 GB, free: 3.066 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.5868, allocations: 179.4 kB / 0.7339 GB, free: 2.91 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5868, allocations: 3.906 kB / 0.7339 GB, free: 2.906 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.5868, allocations: 0 / 0.7339 GB, free: 2.906 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5869, allocations: 4 kB / 0.7339 GB, free: 2.902 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.5871, allocations: 277.4 kB / 0.7341 GB, free: 2.621 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.5875, allocations: 241.2 kB / 0.7344 GB, free: 2.426 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.5877, allocations: 113.6 kB / 0.7345 GB, free: 2.344 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.5877, allocations: 4 kB / 0.7345 GB, free: 2.34 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.097e-05/0.5877, allocations: 38.47 kB / 0.7345 GB, free: 2.293 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=30): time 1.313e-06/0.5877, allocations: 0 / 0.7345 GB, free: 2.293 MB / 0.4953 GB Notification: Performance of matching and sorting (n=30): time 0.000801/0.5885, allocations: 390.6 kB / 0.7349 GB, free: 1.953 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/0.5886, allocations: 59.02 kB / 0.735 GB, free: 1.887 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.786e-05/0.5886, allocations: 99.86 kB / 0.7351 GB, free: 1.789 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.5886, allocations: 25.7 kB / 0.7351 GB, free: 1.758 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.5887, allocations: 80.8 kB / 0.7352 GB, free: 1.672 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.5887, allocations: 127.2 kB / 0.7353 GB, free: 1.562 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.5887, allocations: 0.9375 kB / 0.7353 GB, free: 1.562 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.5888, allocations: 334.5 kB / 0.7356 GB, free: 17.23 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.589, allocations: 123.6 kB / 0.7357 GB, free: 17.14 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.5891, allocations: 201.6 kB / 0.7359 GB, free: 16.95 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.5893, allocations: 171.9 kB / 0.7361 GB, free: 16.81 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5893, allocations: 0 / 0.7361 GB, free: 16.81 MB / 0.5109 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008597/0.5902, allocations: 498.8 kB / 0.7365 GB, free: 16.39 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.5902, allocations: 4 kB / 0.7365 GB, free: 16.38 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5902, allocations: 4 kB / 0.7366 GB, free: 16.38 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/0.5909, allocations: 154.8 kB / 0.7367 GB, free: 16.23 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.5912, allocations: 91.45 kB / 0.7368 GB, free: 16.15 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.5932, allocations: 1.863 MB / 0.7386 GB, free: 14.32 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.5934, allocations: 23.69 kB / 0.7386 GB, free: 14.29 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.5934, allocations: 19.72 kB / 0.7386 GB, free: 14.28 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.5935, allocations: 112.8 kB / 0.7388 GB, free: 14.16 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.5935, allocations: 15.97 kB / 0.7388 GB, free: 14.15 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.5936, allocations: 27.5 kB / 0.7388 GB, free: 14.15 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5936, allocations: 4 kB / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5936, allocations: 7.906 kB / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5936, allocations: 0 / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.5939, allocations: 272.3 kB / 0.7391 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5939, allocations: 4 kB / 0.7391 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.5944, allocations: 63.91 kB / 0.7391 GB, free: 13.8 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006575/0.595, allocations: 158.7 kB / 0.7393 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.5951, allocations: 11.98 kB / 0.7393 GB, free: 13.64 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.5971, allocations: 1.868 MB / 0.7411 GB, free: 11.81 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5971, allocations: 7.922 kB / 0.7411 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001015/0.5981, allocations: 0.5569 MB / 0.7417 GB, free: 11.32 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.5982, allocations: 92.94 kB / 0.7418 GB, free: 11.21 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.5982, allocations: 8 kB / 0.7418 GB, free: 11.2 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5984, allocations: 3.984 kB / 0.7418 GB, free: 11.2 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.5984, allocations: 20.64 kB / 0.7418 GB, free: 11.18 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.5984, allocations: 7.984 kB / 0.7418 GB, free: 11.17 MB / 0.5109 GB Notification: Performance of sort global known variables: time 3.221e-05/0.5985, allocations: 86.77 kB / 0.7419 GB, free: 11.09 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003075/0.5988, allocations: 56 kB / 0.7419 GB, free: 11.04 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/0.5989, allocations: 108.1 kB / 0.742 GB, free: 10.92 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008402/0.5998, allocations: 464.8 kB / 0.7425 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5998, allocations: 128 / 0.7425 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.6004, allocations: 304 kB / 0.7428 GB, free: 10.26 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.6005, allocations: 3.938 kB / 0.7428 GB, free: 10.25 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.6024, allocations: 1.533 MB / 0.7443 GB, free: 8.719 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.6027, allocations: 0.7547 MB / 0.745 GB, free: 7.941 MB / 0.5109 GB Notification: Performance of SimCode: time 2.9e-07/0.6027, allocations: 288 / 0.745 GB, free: 7.941 MB / 0.5109 GB Notification: Performance of Templates: time 0.005369/0.6081, allocations: 2.991 MB / 0.7479 GB, free: 4.996 MB / 0.5109 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches