Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.000969/0.000969, allocations: 183.1 kB / 8.134 MB, free: 2.207 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 / 229.9 MB, free: 3.027 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.0009138/0.0009138, allocations: 95.16 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6709/0.6709, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.161e-06, allocations: 4 kB / 0.5282 GB, free: 50.16 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 82.85 MB / 0.6091 GB, free: 1.297 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5805, allocations: 124.5 MB / 0.7307 GB, free: 1.328 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000152/0.5807, allocations: 60.59 kB / 0.7308 GB, free: 1.297 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.006763/0.5875, allocations: 2.166 MB / 0.7329 GB, free: 15.35 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5875, allocations: 0 / 0.7329 GB, free: 15.35 MB / 0.5109 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.0006468/0.5881, allocations: 465.2 kB / 0.7334 GB, free: 14.86 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.5882, allocations: 10.66 kB / 0.7334 GB, free: 14.85 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.5882, allocations: 15.81 kB / 0.7334 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.5885, allocations: 205.7 kB / 0.7336 GB, free: 14.6 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5885, allocations: 4.562 kB / 0.7336 GB, free: 14.59 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.5885, allocations: 27.52 kB / 0.7336 GB, free: 14.57 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001947/0.5887, allocations: 97.06 kB / 0.7337 GB, free: 14.49 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.589, allocations: 182.5 kB / 0.7339 GB, free: 14.34 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.589, allocations: 7.906 kB / 0.7339 GB, free: 14.33 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.589, allocations: 0 / 0.7339 GB, free: 14.33 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.589, allocations: 7.938 kB / 0.7339 GB, free: 14.32 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.5894, allocations: 274.6 kB / 0.7342 GB, free: 14.04 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.5898, allocations: 237 kB / 0.7344 GB, free: 13.85 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.59, allocations: 116.9 kB / 0.7345 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.59, allocations: 4 kB / 0.7345 GB, free: 13.76 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.59, allocations: 38.47 kB / 0.7345 GB, free: 13.71 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.352e-06/0.59, allocations: 0 / 0.7345 GB, free: 13.71 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.000876/0.5909, allocations: 392 kB / 0.7349 GB, free: 13.38 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.591, allocations: 55.41 kB / 0.735 GB, free: 13.31 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.591, allocations: 96.61 kB / 0.735 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.5911, allocations: 29.64 kB / 0.7351 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.5911, allocations: 84.8 kB / 0.7352 GB, free: 13.09 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.5912, allocations: 123.5 kB / 0.7353 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.5912, allocations: 4 kB / 0.7353 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.5913, allocations: 330.5 kB / 0.7356 GB, free: 12.65 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.5915, allocations: 124.1 kB / 0.7357 GB, free: 12.56 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.5917, allocations: 207.8 kB / 0.7359 GB, free: 12.36 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.592, allocations: 165.9 kB / 0.7361 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.592, allocations: 0 / 0.7361 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009418/0.5929, allocations: 0.4894 MB / 0.7365 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.5929, allocations: 8.031 kB / 0.7366 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5929, allocations: 0 / 0.7366 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007081/0.5937, allocations: 157.5 kB / 0.7367 GB, free: 11.66 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.5939, allocations: 87.53 kB / 0.7368 GB, free: 11.57 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.596, allocations: 1.864 MB / 0.7386 GB, free: 9.746 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.5961, allocations: 19.69 kB / 0.7386 GB, free: 9.727 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5962, allocations: 19.22 kB / 0.7386 GB, free: 9.711 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.618e-05/0.5963, allocations: 109 kB / 0.7388 GB, free: 9.598 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.5963, allocations: 11.89 kB / 0.7388 GB, free: 9.586 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.5964, allocations: 38.69 kB / 0.7388 GB, free: 9.578 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5964, allocations: 4 kB / 0.7388 GB, free: 9.574 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5964, allocations: 3.906 kB / 0.7388 GB, free: 9.57 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5964, allocations: 0 / 0.7388 GB, free: 9.57 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.5967, allocations: 276.9 kB / 0.7391 GB, free: 9.289 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5967, allocations: 0 / 0.7391 GB, free: 9.289 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.5971, allocations: 64.09 kB / 0.7391 GB, free: 9.227 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/0.5978, allocations: 154.6 kB / 0.7393 GB, free: 9.086 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.5978, allocations: 21.55 kB / 0.7393 GB, free: 9.07 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.5998, allocations: 1.862 MB / 0.7411 GB, free: 7.246 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5998, allocations: 4.031 kB / 0.7411 GB, free: 7.242 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009717/0.6008, allocations: 0.5631 MB / 0.7417 GB, free: 6.746 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.6008, allocations: 92.95 kB / 0.7418 GB, free: 6.637 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.6009, allocations: 11.98 kB / 0.7418 GB, free: 6.625 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.601, allocations: 12.92 kB / 0.7418 GB, free: 6.617 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.6011, allocations: 11.89 kB / 0.7418 GB, free: 6.605 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.6011, allocations: 15.17 kB / 0.7418 GB, free: 6.594 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.876e-05/0.6011, allocations: 75.28 kB / 0.7419 GB, free: 6.52 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0002957/0.6014, allocations: 56 kB / 0.7419 GB, free: 6.465 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.0001228/0.6015, allocations: 108.1 kB / 0.742 GB, free: 6.352 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0008322/0.6024, allocations: 466.9 kB / 0.7425 GB, free: 5.953 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6024, allocations: 0.625 kB / 0.7425 GB, free: 5.953 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.6029, allocations: 302.2 kB / 0.7428 GB, free: 5.688 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.6031, allocations: 7.938 kB / 0.7428 GB, free: 5.68 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.6049, allocations: 1.53 MB / 0.7443 GB, free: 4.148 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.6052, allocations: 0.7546 MB / 0.745 GB, free: 3.371 MB / 0.5109 GB Notification: Performance of SimCode: time 3.01e-07/0.6052, allocations: 3.938 kB / 0.745 GB, free: 3.367 MB / 0.5109 GB Notification: Performance of Templates: time 0.005386/0.6106, allocations: 2.989 MB / 0.7479 GB, free: 436 kB / 0.5109 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches