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.001126/0.001127, allocations: 183.8 kB / 8.135 MB, free: 2.223 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.127/1.127, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0009544/0.0009544, allocations: 99.69 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6463/0.6463, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 7.394e-06/7.414e-06, allocations: 0 / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1188, allocations: 82.83 MB / 0.6091 GB, free: 3.602 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5925, allocations: 124.6 MB / 0.7307 GB, free: 5.219 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001502/0.5927, allocations: 54.02 kB / 0.7308 GB, free: 5.199 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01233/0.6051, allocations: 4.23 MB / 0.7349 GB, free: 1.82 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.6051, allocations: 4 kB / 0.7349 GB, free: 1.816 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.0009446/0.606, allocations: 0.6259 MB / 0.7355 GB, free: 1.156 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.6061, allocations: 10.66 kB / 0.7355 GB, free: 1.145 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.6062, allocations: 27.72 kB / 0.7356 GB, free: 1.117 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.6064, allocations: 246.9 kB / 0.7358 GB, free: 0.8359 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6064, allocations: 8 kB / 0.7358 GB, free: 0.8281 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.6065, allocations: 46.95 kB / 0.7359 GB, free: 0.7891 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000304/0.6068, allocations: 207.2 kB / 0.7361 GB, free: 0.6289 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.6072, allocations: 306.9 kB / 0.7364 GB, free: 380 kB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.6072, allocations: 11.89 kB / 0.7364 GB, free: 368 kB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.6072, allocations: 3.938 kB / 0.7364 GB, free: 364 kB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.6073, allocations: 8 kB / 0.7364 GB, free: 356 kB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.6078, allocations: 434 kB / 0.7368 GB, free: 15.93 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.6085, allocations: 442.1 kB / 0.7372 GB, free: 15.59 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.6088, allocations: 223.1 kB / 0.7374 GB, free: 15.43 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.6088, allocations: 12.5 kB / 0.7374 GB, free: 15.41 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.6089, allocations: 41.23 kB / 0.7375 GB, free: 15.37 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=60): time 1.472e-06/0.6089, allocations: 0 / 0.7375 GB, free: 15.37 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60): time 0.001698/0.6106, allocations: 0.7206 MB / 0.7382 GB, free: 14.74 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.6106, allocations: 63.84 kB / 0.7382 GB, free: 14.67 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.6107, allocations: 108.1 kB / 0.7383 GB, free: 14.56 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.6107, allocations: 25.7 kB / 0.7384 GB, free: 14.53 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.6108, allocations: 85.45 kB / 0.7384 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.6109, allocations: 238.9 kB / 0.7387 GB, free: 14.24 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.6109, allocations: 3.938 kB / 0.7387 GB, free: 14.24 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.611, allocations: 340.6 kB / 0.739 GB, free: 13.91 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.6114, allocations: 253.1 kB / 0.7392 GB, free: 13.72 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.6118, allocations: 413.1 kB / 0.7396 GB, free: 13.33 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.6122, allocations: 326 kB / 0.74 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6123, allocations: 4 kB / 0.74 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001859/0.6141, allocations: 0.9648 MB / 0.7409 GB, free: 12.25 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6141, allocations: 4 kB / 0.7409 GB, free: 12.24 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6142, allocations: 8 kB / 0.7409 GB, free: 12.23 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/0.6155, allocations: 305.1 kB / 0.7412 GB, free: 11.96 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.6161, allocations: 171.1 kB / 0.7414 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/0.6196, allocations: 2.657 MB / 0.744 GB, free: 9.352 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.6198, allocations: 55.42 kB / 0.744 GB, free: 9.297 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.6199, allocations: 30.94 kB / 0.744 GB, free: 9.273 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.0001197/0.62, allocations: 112.9 kB / 0.7441 GB, free: 9.156 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.6201, allocations: 27.16 kB / 0.7442 GB, free: 9.133 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-05/0.6202, allocations: 50.59 kB / 0.7442 GB, free: 9.121 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.6202, allocations: 8 kB / 0.7442 GB, free: 9.113 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.6202, allocations: 4 kB / 0.7442 GB, free: 9.109 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.6202, allocations: 3.984 kB / 0.7442 GB, free: 9.105 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.6207, allocations: 438.3 kB / 0.7447 GB, free: 8.691 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6207, allocations: 4 kB / 0.7447 GB, free: 8.688 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008102/0.6215, allocations: 136.2 kB / 0.7448 GB, free: 8.562 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.6229, allocations: 304.7 kB / 0.7451 GB, free: 8.285 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.6229, allocations: 27.66 kB / 0.7451 GB, free: 8.262 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003386/0.6263, allocations: 2.653 MB / 0.7477 GB, free: 5.824 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6263, allocations: 0 / 0.7477 GB, free: 5.824 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001927/0.6283, allocations: 1.13 MB / 0.7488 GB, free: 4.863 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.6283, allocations: 100.8 kB / 0.7489 GB, free: 4.746 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.6284, allocations: 19.89 kB / 0.7489 GB, free: 4.727 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.6286, allocations: 11.98 kB / 0.7489 GB, free: 4.715 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.6287, allocations: 27.58 kB / 0.749 GB, free: 4.691 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.6287, allocations: 18.98 kB / 0.749 GB, free: 4.676 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.961e-05/0.6288, allocations: 78.72 kB / 0.749 GB, free: 4.602 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004405/0.6292, allocations: 115.9 kB / 0.7492 GB, free: 4.488 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.0001768/0.6294, allocations: 119.2 kB / 0.7493 GB, free: 4.367 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.6309, allocations: 0.8185 MB / 0.7501 GB, free: 3.676 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6309, allocations: 0 / 0.7501 GB, free: 3.676 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.6319, allocations: 0.5119 MB / 0.7506 GB, free: 3.23 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.6321, allocations: 6.781 kB / 0.7506 GB, free: 3.227 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.6356, allocations: 3.14 MB / 0.7536 GB, free: 112 kB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.6361, allocations: 0.834 MB / 0.7545 GB, free: 15.26 MB / 0.5265 GB Notification: Performance of SimCode: time 2.354e-06/0.6361, allocations: 0 / 0.7545 GB, free: 15.26 MB / 0.5265 GB Notification: Performance of Templates: time 0.008515/0.6446, allocations: 5.735 MB / 0.7601 GB, free: 9.566 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/jenkins1/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