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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 175.8 kB / 8.346 MB, free: 0.7266 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.378/1.378, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.0009523/0.0009519, allocations: 100.4 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9787/0.9787, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.077e-05, allocations: 0 / 0.5288 GB, free: 1.301 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8383/0.8383, allocations: 82.84 MB / 0.6097 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.9947, allocations: 124.6 MB / 0.7314 GB, free: 280 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.9949, allocations: 67.89 kB / 0.7314 GB, free: 216 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01431/1.009, allocations: 4.466 MB / 0.7358 GB, free: 11.72 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.343e-06/1.009, allocations: 0 / 0.7358 GB, free: 11.72 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.302e-05/1.009, allocations: 4 kB / 0.7358 GB, free: 11.72 MB / 0.5419 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.001154/1.01, allocations: 0.6355 MB / 0.7364 GB, free: 11.04 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.011, allocations: 8.031 kB / 0.7364 GB, free: 11.03 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/1.011, allocations: 31.67 kB / 0.7365 GB, free: 11 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/1.011, allocations: 239.1 kB / 0.7367 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.011, allocations: 8 kB / 0.7367 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/1.011, allocations: 51.75 kB / 0.7368 GB, free: 10.67 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000381/1.011, allocations: 197 kB / 0.7369 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/1.012, allocations: 303.5 kB / 0.7372 GB, free: 10.17 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/1.012, allocations: 4 kB / 0.7372 GB, free: 10.17 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/1.012, allocations: 3.953 kB / 0.7372 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.012, allocations: 8 kB / 0.7373 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/1.013, allocations: 423.2 kB / 0.7377 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/1.013, allocations: 449.6 kB / 0.7381 GB, free: 9.254 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/1.014, allocations: 218.5 kB / 0.7383 GB, free: 9.039 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/1.014, allocations: 8.562 kB / 0.7383 GB, free: 9.031 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.014, allocations: 43.11 kB / 0.7383 GB, free: 8.98 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/1.014, allocations: 0 / 0.7383 GB, free: 8.98 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.001725/1.016, allocations: 0.7136 MB / 0.739 GB, free: 8.254 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/1.016, allocations: 71.91 kB / 0.7391 GB, free: 8.172 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/1.016, allocations: 101 kB / 0.7392 GB, free: 8.066 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/1.016, allocations: 25.7 kB / 0.7392 GB, free: 8.035 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/1.016, allocations: 85.45 kB / 0.7393 GB, free: 7.949 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/1.016, allocations: 244.4 kB / 0.7395 GB, free: 7.707 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/1.016, allocations: 0 / 0.7395 GB, free: 7.707 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.016, allocations: 346.8 kB / 0.7399 GB, free: 7.359 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/1.017, allocations: 234.5 kB / 0.7401 GB, free: 7.129 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/1.017, allocations: 405.5 kB / 0.7405 GB, free: 6.672 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/1.018, allocations: 301.9 kB / 0.7408 GB, free: 6.375 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.018, allocations: 3.953 kB / 0.7408 GB, free: 6.371 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002003/1.02, allocations: 0.9482 MB / 0.7417 GB, free: 5.414 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/1.02, allocations: 8 kB / 0.7417 GB, free: 5.406 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/1.02, allocations: 4 kB / 0.7417 GB, free: 5.402 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.021, allocations: 314.7 kB / 0.742 GB, free: 5.094 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/1.022, allocations: 163.8 kB / 0.7422 GB, free: 4.934 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/1.026, allocations: 2.738 MB / 0.7448 GB, free: 2.082 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/1.026, allocations: 51.36 kB / 0.7449 GB, free: 2.031 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/1.026, allocations: 32 kB / 0.7449 GB, free: 2 MB / 0.5419 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.0001905/1.027, allocations: 120.8 kB / 0.745 GB, free: 1.875 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/1.027, allocations: 23.72 kB / 0.7451 GB, free: 1.852 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/1.027, allocations: 54.5 kB / 0.7451 GB, free: 1.797 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.027, allocations: 8 kB / 0.7451 GB, free: 1.789 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.027, allocations: 4 kB / 0.7451 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.027, allocations: 3.984 kB / 0.7451 GB, free: 1.781 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006045/1.027, allocations: 410.2 kB / 0.7455 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/1.027, allocations: 0 / 0.7455 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/1.028, allocations: 135.9 kB / 0.7456 GB, free: 1.211 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/1.03, allocations: 310.6 kB / 0.7459 GB, free: 0.9062 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/1.03, allocations: 27.97 kB / 0.746 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5722/1.602, allocations: 2.711 MB / 0.7486 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.602, allocations: 3.75 kB / 0.7486 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/1.604, allocations: 1.101 MB / 0.7497 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/1.604, allocations: 106.8 kB / 0.7498 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/1.604, allocations: 20.5 kB / 0.7498 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/1.605, allocations: 12.28 kB / 0.7498 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.605, allocations: 46.5 kB / 0.7499 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/1.605, allocations: 13.09 kB / 0.7499 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 2.696e-05/1.605, allocations: 81.75 kB / 0.75 GB, free: 134 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.31e-07/1.605, allocations: 0 / 0.75 GB, free: 134 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0005828/1.605, allocations: 118.7 kB / 0.7501 GB, free: 134 MB / 0.5421 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.0001872/1.606, allocations: 120.9 kB / 0.7502 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.607, allocations: 0.827 MB / 0.751 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.607, allocations: 0 / 0.751 GB, free: 133.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.608, allocations: 0.5137 MB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.609, allocations: 6.484 kB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/1.612, allocations: 3.115 MB / 0.7546 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/1.613, allocations: 0.8111 MB / 0.7553 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003617/1.613, allocations: 143.8 kB / 0.7555 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/1.613, allocations: 25.62 kB / 0.7555 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of SimCode: time 1.113e-06/1.613, allocations: 4 kB / 0.7555 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.00819/1.621, allocations: 4.803 MB / 0.7602 GB, free: 129.9 MB / 0.5421 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