Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.0009597/0.0009597, allocations: 182.4 kB / 8.137 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.088/1.088, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.001074/0.001074, allocations: 97.36 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.6405/0.6405, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/5.991e-06, allocations: 4 kB / 0.5282 GB, free: 52.44 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 82.84 MB / 0.6091 GB, free: 3.578 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.5681, allocations: 124.6 MB / 0.7307 GB, free: 5.438 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001454/0.5683, allocations: 58.38 kB / 0.7308 GB, free: 5.418 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01202/0.5803, allocations: 4.235 MB / 0.7349 GB, free: 2.023 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.5803, allocations: 4 kB / 0.7349 GB, free: 2.02 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.0009352/0.5813, allocations: 0.6326 MB / 0.7356 GB, free: 1.355 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.5813, allocations: 8.031 kB / 0.7356 GB, free: 1.344 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.5814, allocations: 27.72 kB / 0.7356 GB, free: 1.316 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.5816, allocations: 243 kB / 0.7358 GB, free: 1.039 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5816, allocations: 8 kB / 0.7358 GB, free: 1.031 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.5817, allocations: 42.78 kB / 0.7359 GB, free: 0.9961 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002868/0.582, allocations: 208.3 kB / 0.7361 GB, free: 0.832 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.5824, allocations: 310.5 kB / 0.7364 GB, free: 0.5703 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.5824, allocations: 11.28 kB / 0.7364 GB, free: 0.5625 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.5824, allocations: 0 / 0.7364 GB, free: 0.5625 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.5824, allocations: 8 kB / 0.7364 GB, free: 0.5547 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.5829, allocations: 437.7 kB / 0.7368 GB, free: 148 kB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.5835, allocations: 430.6 kB / 0.7372 GB, free: 15.8 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.5838, allocations: 222.9 kB / 0.7374 GB, free: 15.64 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.5838, allocations: 12.5 kB / 0.7374 GB, free: 15.63 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.5839, allocations: 34.31 kB / 0.7375 GB, free: 15.59 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=60): time 1.633e-06/0.5839, allocations: 0 / 0.7375 GB, free: 15.59 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60): time 0.001665/0.5856, allocations: 0.7373 MB / 0.7382 GB, free: 14.95 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.5856, allocations: 55.91 kB / 0.7382 GB, free: 14.88 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.164e-05/0.5857, allocations: 103.6 kB / 0.7383 GB, free: 14.78 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.5857, allocations: 25.7 kB / 0.7384 GB, free: 14.75 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.5858, allocations: 88.58 kB / 0.7384 GB, free: 14.66 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.5859, allocations: 243.4 kB / 0.7387 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.586, allocations: 0 / 0.7387 GB, free: 14.45 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5861, allocations: 341.5 kB / 0.739 GB, free: 14.12 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.5864, allocations: 249.9 kB / 0.7392 GB, free: 13.94 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.5869, allocations: 420.2 kB / 0.7396 GB, free: 13.54 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.5873, allocations: 325.5 kB / 0.74 GB, free: 13.29 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5873, allocations: 4 kB / 0.74 GB, free: 13.29 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001869/0.5892, allocations: 0.9565 MB / 0.7409 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5892, allocations: 4 kB / 0.7409 GB, free: 12.46 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5892, allocations: 8.938 kB / 0.7409 GB, free: 12.45 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.5906, allocations: 303.8 kB / 0.7412 GB, free: 12.18 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.5911, allocations: 170 kB / 0.7414 GB, free: 12.02 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.5947, allocations: 2.67 MB / 0.744 GB, free: 9.559 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.595, allocations: 47.44 kB / 0.744 GB, free: 9.512 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.5951, allocations: 24.69 kB / 0.744 GB, free: 9.492 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.0001167/0.5952, allocations: 118.8 kB / 0.7441 GB, free: 9.371 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.5952, allocations: 23.91 kB / 0.7442 GB, free: 9.348 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.5953, allocations: 60.58 kB / 0.7442 GB, free: 9.328 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5954, allocations: 4 kB / 0.7442 GB, free: 9.324 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5954, allocations: 11.92 kB / 0.7442 GB, free: 9.312 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5954, allocations: 0 / 0.7442 GB, free: 9.312 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.5959, allocations: 441.9 kB / 0.7447 GB, free: 8.898 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5959, allocations: 4 kB / 0.7447 GB, free: 8.895 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.5967, allocations: 131.4 kB / 0.7448 GB, free: 8.77 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.598, allocations: 310.4 kB / 0.7451 GB, free: 8.492 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/0.5981, allocations: 23.97 kB / 0.7451 GB, free: 8.469 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/0.6015, allocations: 2.653 MB / 0.7477 GB, free: 6.031 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6016, allocations: 4 kB / 0.7477 GB, free: 6.027 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001895/0.6035, allocations: 1.113 MB / 0.7488 GB, free: 5.082 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.6035, allocations: 104.3 kB / 0.7489 GB, free: 4.965 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.6036, allocations: 23.88 kB / 0.7489 GB, free: 4.941 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.6038, allocations: 4 kB / 0.7489 GB, free: 4.938 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.6039, allocations: 36.38 kB / 0.749 GB, free: 4.906 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.6039, allocations: 15.12 kB / 0.749 GB, free: 4.895 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.642e-05/0.6039, allocations: 75.28 kB / 0.749 GB, free: 4.82 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004141/0.6044, allocations: 115.9 kB / 0.7491 GB, free: 4.707 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.0001509/0.6045, allocations: 119.4 kB / 0.7493 GB, free: 4.586 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.606, allocations: 0.824 MB / 0.7501 GB, free: 3.891 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.606, allocations: 3.938 kB / 0.7501 GB, free: 3.887 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6071, allocations: 0.5121 MB / 0.7506 GB, free: 3.441 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.6072, allocations: 3.938 kB / 0.7506 GB, free: 3.438 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.6107, allocations: 3.137 MB / 0.7536 GB, free: 328 kB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.6111, allocations: 0.8287 MB / 0.7544 GB, free: 15.48 MB / 0.5265 GB Notification: Performance of SimCode: time 2.8e-07/0.6111, allocations: 7.875 kB / 0.7545 GB, free: 15.47 MB / 0.5265 GB Notification: Performance of Templates: time 0.009023/0.6202, allocations: 5.744 MB / 0.7601 GB, free: 9.77 MB / 0.5265 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches