Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.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.HarmonicOscillator_N_100,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.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,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.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009469/0.0009469, 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.254/1.254, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0007562/0.0007561, allocations: 89.55 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7782/0.7782, allocations: 120.4 MB / 440.6 MB, free: 4.102 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 11.94 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 80 MB / 0.5969 GB, free: 9.125 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5752/0.6889, allocations: 124.4 MB / 0.7185 GB, free: 19.2 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/0.6891, allocations: 65.17 kB / 0.7185 GB, free: 19.2 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.04061/0.7297, allocations: 15.57 MB / 0.7337 GB, free: 6.953 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7298, allocations: 0 / 0.7337 GB, free: 6.953 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.83e-05/0.7298, allocations: 16 kB / 0.7337 GB, free: 6.938 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002766/0.7326, allocations: 1.277 MB / 0.735 GB, free: 5.656 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7326, allocations: 15.97 kB / 0.735 GB, free: 5.641 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.733, allocations: 92.19 kB / 0.7351 GB, free: 5.551 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/0.7337, allocations: 450.7 kB / 0.7355 GB, free: 5.074 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.7337, allocations: 118 kB / 0.7356 GB, free: 5.008 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.7341, allocations: 247.3 kB / 0.7359 GB, free: 4.84 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.7357, allocations: 1.069 MB / 0.7369 GB, free: 4.008 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.37e-05/0.7358, allocations: 54.8 kB / 0.737 GB, free: 3.961 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.7359, allocations: 29.56 kB / 0.737 GB, free: 3.957 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.7359, allocations: 20 kB / 0.737 GB, free: 3.938 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.737, allocations: 0.8356 MB / 0.7378 GB, free: 3.258 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.7382, allocations: 1.095 MB / 0.7389 GB, free: 2.348 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.7394, allocations: 1.052 MB / 0.7399 GB, free: 1.539 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.7402, allocations: 0.7175 MB / 0.7406 GB, free: 1.039 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.7403, allocations: 22 kB / 0.7406 GB, free: 1.016 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.7403, allocations: 52.12 kB / 0.7407 GB, free: 0.9688 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=200): time 3.376e-06/0.7403, allocations: 0 / 0.7407 GB, free: 0.9688 MB / 0.4953 GB Notification: Performance of matching and sorting (n=200): time 0.003104/0.7434, allocations: 2.247 MB / 0.7429 GB, free: 15.21 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.7435, allocations: 77.41 kB / 0.743 GB, free: 15.12 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7436, allocations: 157 kB / 0.7431 GB, free: 14.99 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7438, allocations: 91.33 kB / 0.7432 GB, free: 14.94 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.7438, allocations: 123.9 kB / 0.7433 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.7444, allocations: 0.8776 MB / 0.7442 GB, free: 14.08 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.7445, allocations: 62.56 kB / 0.7442 GB, free: 14.07 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.7447, allocations: 441.2 kB / 0.7447 GB, free: 13.68 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.7462, allocations: 0.9412 MB / 0.7456 GB, free: 12.96 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.748, allocations: 1.717 MB / 0.7473 GB, free: 11.24 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/0.7513, allocations: 2.808 MB / 0.75 GB, free: 8.809 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.7514, allocations: 4 kB / 0.75 GB, free: 8.805 MB / 0.5109 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004234/0.7556, allocations: 2.948 MB / 0.7529 GB, free: 6.535 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.7557, allocations: 19.94 kB / 0.7529 GB, free: 6.516 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/0.7557, allocations: 20 kB / 0.7529 GB, free: 6.496 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.534e-05/0.7558, allocations: 40 kB / 0.753 GB, free: 6.457 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.7585, allocations: 0.8417 MB / 0.7538 GB, free: 5.641 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-05/0.7586, allocations: 51.86 kB / 0.7538 GB, free: 5.59 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.7596, allocations: 274.6 kB / 0.7541 GB, free: 5.367 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.7598, allocations: 115.1 kB / 0.7542 GB, free: 5.277 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (400): * Single equations (assignments): 400 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005304/0.7604, allocations: 373.7 kB / 0.7546 GB, free: 4.984 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.7606, allocations: 67.19 kB / 0.7546 GB, free: 4.918 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.7609, allocations: 176.1 kB / 0.7548 GB, free: 4.898 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.7609, allocations: 27.94 kB / 0.7548 GB, free: 4.871 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.7609, allocations: 0 / 0.7548 GB, free: 4.871 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.7609, allocations: 11.95 kB / 0.7548 GB, free: 4.859 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.7623, allocations: 1.01 MB / 0.7558 GB, free: 3.977 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7623, allocations: 4 kB / 0.7558 GB, free: 3.973 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/0.766, allocations: 0.6977 MB / 0.7565 GB, free: 3.301 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.49e-05/0.766, allocations: 7.938 kB / 0.7565 GB, free: 3.293 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/0.7662, allocations: 127 kB / 0.7566 GB, free: 3.191 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.7662, allocations: 12 kB / 0.7566 GB, free: 3.18 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7662, allocations: 0 / 0.7566 GB, free: 3.18 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.7694, allocations: 2.459 MB / 0.759 GB, free: 1.223 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.7695, allocations: 163.9 kB / 0.7592 GB, free: 1.043 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.7697, allocations: 111.2 kB / 0.7593 GB, free: 0.957 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.7704, allocations: 82.8 kB / 0.7594 GB, free: 0.9023 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.7706, allocations: 121.4 kB / 0.7595 GB, free: 0.7969 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7707, allocations: 55.53 kB / 0.7595 GB, free: 0.7539 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.7708, allocations: 91.44 kB / 0.7596 GB, free: 0.6641 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7708, allocations: 0 / 0.7596 GB, free: 0.6641 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.001084/0.7719, allocations: 400.4 kB / 0.76 GB, free: 356 kB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],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],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80],v[81],v[82],v[83],v[84],v[85],v[86],v[87],v[88],v[89],v[90],v[91],v[92],v[93],v[94],v[95],v[96],v[97],v[98],v[99],v[100]) * 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 (200): * Single equations (assignments): 200 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003375/0.7722, allocations: 266.9 kB / 0.7603 GB, free: 116 kB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.003093/0.7753, allocations: 2.191 MB / 0.7624 GB, free: 14.38 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7753, allocations: 0 / 0.7624 GB, free: 14.38 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.7764, allocations: 0.9128 MB / 0.7633 GB, free: 13.67 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.7768, allocations: 66 kB / 0.7634 GB, free: 13.66 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/0.7928, allocations: 15.8 MB / 0.7788 GB, free: 14.08 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.7935, allocations: 1.159 MB / 0.7799 GB, free: 12.9 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002487/0.796, allocations: 0.7791 MB / 0.7807 GB, free: 12.12 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.7965, allocations: 95.44 kB / 0.7808 GB, free: 12.02 MB / 0.5421 GB Notification: Performance of SimCode: time 7.71e-07/0.7965, allocations: 0 / 0.7808 GB, free: 12.02 MB / 0.5421 GB Notification: Performance of Templates: time 0.01844/0.815, allocations: 10.87 MB / 0.7914 GB, free: 1.156 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches