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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008874/0.0008875, allocations: 176.1 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007557/0.0007557, allocations: 98.22 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8413/0.8413, allocations: 120.4 MB / 440.6 MB, free: 4.086 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 19.94 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.113, allocations: 79.99 MB / 0.5969 GB, free: 9.137 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.57/0.683, allocations: 124.5 MB / 0.7185 GB, free: 18.82 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/0.6832, allocations: 68.16 kB / 0.7185 GB, free: 18.82 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.6944, allocations: 4.433 MB / 0.7229 GB, free: 16.58 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6945, allocations: 0 / 0.7229 GB, free: 16.58 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.6945, allocations: 4 kB / 0.7229 GB, free: 16.57 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.001022/0.6955, allocations: 0.6476 MB / 0.7235 GB, free: 15.89 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.6956, allocations: 8.031 kB / 0.7235 GB, free: 15.88 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.6957, allocations: 28.75 kB / 0.7235 GB, free: 15.85 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.6959, allocations: 244.6 kB / 0.7238 GB, free: 15.57 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.696, allocations: 32.62 kB / 0.7238 GB, free: 15.56 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.542e-05/0.696, allocations: 51.56 kB / 0.7239 GB, free: 15.52 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.6965, allocations: 342 kB / 0.7242 GB, free: 15.25 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.6965, allocations: 11.84 kB / 0.7242 GB, free: 15.24 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.6966, allocations: 11.81 kB / 0.7242 GB, free: 15.24 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6966, allocations: 4 kB / 0.7242 GB, free: 15.23 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.6969, allocations: 220 kB / 0.7244 GB, free: 15.06 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.6974, allocations: 487.9 kB / 0.7249 GB, free: 14.62 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.698, allocations: 488.8 kB / 0.7254 GB, free: 14.25 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.6983, allocations: 247 kB / 0.7256 GB, free: 14.08 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.6984, allocations: 8.562 kB / 0.7256 GB, free: 14.07 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.6984, allocations: 35.75 kB / 0.7256 GB, free: 14.04 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=60): time 1.763e-06/0.6984, allocations: 3.938 kB / 0.7256 GB, free: 14.03 MB / 0.4953 GB Notification: Performance of matching and sorting (n=60): time 0.003433/0.7018, allocations: 1.365 MB / 0.727 GB, free: 12.82 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.7019, allocations: 63.97 kB / 0.727 GB, free: 12.74 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.7019, allocations: 113.5 kB / 0.7271 GB, free: 12.63 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.702, allocations: 40.83 kB / 0.7272 GB, free: 12.59 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/0.702, allocations: 93.02 kB / 0.7273 GB, free: 12.51 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.7021, allocations: 243.5 kB / 0.7275 GB, free: 12.3 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.7022, allocations: 15.31 kB / 0.7275 GB, free: 12.3 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.7022, allocations: 342.4 kB / 0.7278 GB, free: 11.97 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.7026, allocations: 258.5 kB / 0.7281 GB, free: 11.78 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.703, allocations: 433 kB / 0.7285 GB, free: 11.36 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007369/0.7037, allocations: 0.715 MB / 0.7292 GB, free: 10.76 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7037, allocations: 0 / 0.7292 GB, free: 10.76 MB / 0.4953 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00167/0.7054, allocations: 1.044 MB / 0.7302 GB, free: 9.918 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7054, allocations: 8 kB / 0.7302 GB, free: 9.91 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.7054, allocations: 4 kB / 0.7302 GB, free: 9.906 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.7066, allocations: 323.8 kB / 0.7305 GB, free: 9.609 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.707, allocations: 163.6 kB / 0.7307 GB, free: 9.453 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/0.7103, allocations: 2.906 MB / 0.7335 GB, free: 6.809 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.7106, allocations: 66.67 kB / 0.7336 GB, free: 6.754 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.7107, allocations: 31.69 kB / 0.7336 GB, free: 6.73 MB / 0.4953 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 () * Number of clocked 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.0001806/0.7108, allocations: 184.7 kB / 0.7338 GB, free: 6.562 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.7109, allocations: 19.72 kB / 0.7338 GB, free: 6.543 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.711, allocations: 60.06 kB / 0.7339 GB, free: 6.539 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.711, allocations: 4 kB / 0.7339 GB, free: 6.535 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/0.711, allocations: 4 kB / 0.7339 GB, free: 6.531 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.711, allocations: 3.984 kB / 0.7339 GB, free: 6.527 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.7115, allocations: 470.9 kB / 0.7343 GB, free: 6.082 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.7115, allocations: 0 / 0.7343 GB, free: 6.082 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.7121, allocations: 139.4 kB / 0.7345 GB, free: 5.953 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.7132, allocations: 312 kB / 0.7348 GB, free: 5.668 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.7133, allocations: 27.78 kB / 0.7348 GB, free: 5.648 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/0.7164, allocations: 2.885 MB / 0.7376 GB, free: 3.023 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7164, allocations: 0 / 0.7376 GB, free: 3.023 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.7181, allocations: 1.18 MB / 0.7388 GB, free: 2.047 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.7181, allocations: 104.7 kB / 0.7389 GB, free: 1.926 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.7182, allocations: 27.72 kB / 0.7389 GB, free: 1.906 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.7184, allocations: 19.11 kB / 0.7389 GB, free: 1.895 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.7185, allocations: 43.88 kB / 0.739 GB, free: 1.859 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.7185, allocations: 27.61 kB / 0.739 GB, free: 1.836 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.7185, allocations: 79.27 kB / 0.7391 GB, free: 1.758 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7185, allocations: 4 kB / 0.7391 GB, free: 1.754 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0004428/0.719, allocations: 140.4 kB / 0.7392 GB, free: 1.641 MB / 0.4953 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 () * Number of clocked 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.0001419/0.7191, allocations: 138.8 kB / 0.7393 GB, free: 1.508 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.7206, allocations: 0.8919 MB / 0.7402 GB, free: 0.7461 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7206, allocations: 1.188 kB / 0.7402 GB, free: 0.7461 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 0.000875/0.7215, allocations: 0.5582 MB / 0.7407 GB, free: 264 kB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.7217, allocations: 20.25 kB / 0.7408 GB, free: 260 kB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.7255, allocations: 3.497 MB / 0.7442 GB, free: 12.79 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.726, allocations: 0.813 MB / 0.745 GB, free: 11.96 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.0003097/0.7263, allocations: 139.1 kB / 0.7451 GB, free: 11.82 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.7264, allocations: 27.44 kB / 0.7451 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of SimCode: time 5.11e-07/0.7264, allocations: 0 / 0.7451 GB, free: 11.8 MB / 0.5109 GB Notification: Performance of Templates: time 0.008824/0.7352, allocations: 4.916 MB / 0.7499 GB, free: 6.887 MB / 0.5109 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/jenkins1/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