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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000975/0.000975, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 169.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8591/0.8591, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.7132/0.7132, allocations: 88.09 MB / 350.7 MB, free: 11.84 MB / 330.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 452.9 MB, free: 7.973 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.799e-05, allocations: 6.25 kB / 452.9 MB, free: 7.965 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100): time 0.002114/0.002132, allocations: 1.258 MB / 454.2 MB, free: 6.695 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001165/0.002249, allocations: 43.88 kB / 454.2 MB, free: 6.652 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.002265, allocations: 0 / 454.2 MB, free: 6.652 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.002302, allocations: 0 / 454.2 MB, free: 6.652 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.002334, allocations: 3.984 kB / 454.2 MB, free: 6.648 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.431e-05/0.002428, allocations: 27.89 kB / 454.3 MB, free: 6.621 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.003573, allocations: 1.467 MB / 455.7 MB, free: 5.152 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.001e-05/0.003603, allocations: 8 kB / 455.7 MB, free: 5.145 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.004267, allocations: 0.6555 MB / 456.4 MB, free: 4.488 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.005044, allocations: 0.5889 MB / 457 MB, free: 3.898 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.005209, allocations: 76 kB / 457.1 MB, free: 3.824 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.005331, allocations: 76 kB / 457.1 MB, free: 3.75 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.005674, allocations: 451 kB / 457.6 MB, free: 3.309 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.005978, allocations: 415.1 kB / 458 MB, free: 2.902 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.006512, allocations: 0.9189 MB / 458.9 MB, free: 1.98 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.006513, allocations: 0 / 458.9 MB, free: 1.98 MB / 426.8 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006514, allocations: 0 / 458.9 MB, free: 1.98 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.006522, allocations: 0 / 458.9 MB, free: 1.98 MB / 426.8 MB 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.001917/0.008439, allocations: 1.618 MB / 460.5 MB, free: 328 kB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.008466, allocations: 15.97 kB / 460.5 MB, free: 312 kB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.008671, allocations: 160.5 kB / 460.7 MB, free: 152 kB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.009024, allocations: 303.8 kB / 461 MB, free: 15.82 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.009082, allocations: 110.4 kB / 461.1 MB, free: 15.71 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.009282, allocations: 243.9 kB / 461.3 MB, free: 15.48 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.009915, allocations: 0.597 MB / 461.9 MB, free: 14.87 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.00996, allocations: 39.95 kB / 462 MB, free: 14.83 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.01001, allocations: 32.38 kB / 462 MB, free: 14.8 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01003, allocations: 24.38 kB / 462 MB, free: 14.78 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.01056, allocations: 465.3 kB / 462.5 MB, free: 14.32 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.01121, allocations: 0.6193 MB / 463.1 MB, free: 13.68 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.0118, allocations: 0.5786 MB / 463.7 MB, free: 13.09 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.01217, allocations: 325.5 kB / 464 MB, free: 12.77 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/0.01225, allocations: 34 kB / 464 MB, free: 12.73 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.0123, allocations: 63.38 kB / 464.1 MB, free: 12.66 MB / 442.8 MB Notification: Performance of pre-optimization done (n=200): time 4.078e-06/0.0123, allocations: 0 / 464.1 MB, free: 12.66 MB / 442.8 MB Notification: Performance of matching and sorting (n=200): time 0.001705/0.01401, allocations: 1.281 MB / 465.4 MB, free: 11.37 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.01405, allocations: 77.34 kB / 465.4 MB, free: 11.28 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.01416, allocations: 245.7 kB / 465.7 MB, free: 11.02 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.01426, allocations: 89.7 kB / 465.8 MB, free: 10.93 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.01433, allocations: 167.6 kB / 465.9 MB, free: 10.75 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006038/0.01493, allocations: 0.9764 MB / 466.9 MB, free: 9.77 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.01538, allocations: 0.6076 MB / 467.5 MB, free: 9.148 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.01549, allocations: 492.4 kB / 468 MB, free: 8.66 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.01586, allocations: 314 kB / 468.3 MB, free: 8.352 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.01679, allocations: 1.396 MB / 469.7 MB, free: 6.535 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.01825, allocations: 1.872 MB / 471.6 MB, free: 4.238 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.01826, allocations: 12 kB / 471.6 MB, free: 4.227 MB / 442.8 MB Notification: Performance of matching and sorting (n=400) (initialization): time 0.001786/0.02005, allocations: 1.825 MB / 473.4 MB, free: 2.395 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.02007, allocations: 16 kB / 473.4 MB, free: 2.379 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.02009, allocations: 20 kB / 473.4 MB, free: 2.359 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.02012, allocations: 40 kB / 473.5 MB, free: 2.32 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.02161, allocations: 0.796 MB / 474.3 MB, free: 1.523 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.551e-05/0.02164, allocations: 51.8 kB / 474.3 MB, free: 1.473 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.02236, allocations: 238.3 kB / 474.6 MB, free: 1.238 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.02245, allocations: 99.94 kB / 474.7 MB, free: 1.141 MB / 442.8 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.02271, allocations: 339.5 kB / 475 MB, free: 0.7969 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.02285, allocations: 131.6 kB / 475.1 MB, free: 0.668 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.02306, allocations: 175 kB / 475.3 MB, free: 496 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.02307, allocations: 24 kB / 475.3 MB, free: 472 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.02308, allocations: 0 / 475.3 MB, free: 472 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.02309, allocations: 8.156 kB / 475.3 MB, free: 464 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.02364, allocations: 0.5568 MB / 475.9 MB, free: 15.87 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.02364, allocations: 3.984 kB / 475.9 MB, free: 15.86 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/0.02573, allocations: 0.6477 MB / 476.5 MB, free: 15.22 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.02574, allocations: 12 kB / 476.5 MB, free: 15.21 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.02588, allocations: 119.8 kB / 476.7 MB, free: 15.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.02588, allocations: 4 kB / 476.7 MB, free: 15.09 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02588, allocations: 0 / 476.7 MB, free: 15.09 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.02759, allocations: 1.9 MB / 478.6 MB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.02763, allocations: 87.14 kB / 478.6 MB, free: 13.05 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.02778, allocations: 95.89 kB / 478.7 MB, free: 12.96 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.02806, allocations: 44 kB / 478.8 MB, free: 12.91 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.02819, allocations: 121.8 kB / 478.9 MB, free: 12.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.02824, allocations: 51.95 kB / 478.9 MB, free: 12.75 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.731e-05/0.02827, allocations: 119.2 kB / 479.1 MB, free: 12.63 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02827, allocations: 4 kB / 479.1 MB, free: 12.62 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.000598/0.02887, allocations: 400 kB / 479.5 MB, free: 12.23 MB / 458.8 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.02907, allocations: 260.1 kB / 479.7 MB, free: 11.97 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.03016, allocations: 1.277 MB / 481 MB, free: 10.69 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.03016, allocations: 1.938 kB / 481 MB, free: 10.69 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007342/0.03089, allocations: 0.5963 MB / 481.6 MB, free: 10.09 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.03116, allocations: 83.91 kB / 481.7 MB, free: 10.01 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.03756, allocations: 8.562 MB / 490.2 MB, free: 1.387 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.03772, allocations: 302 kB / 490.5 MB, free: 1.066 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.03807, allocations: 166.5 kB / 490.7 MB, free: 0.8984 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.03842, allocations: 246.2 kB / 490.9 MB, free: 0.6562 MB / 458.8 MB Notification: Performance of SimCode: time 1.313e-06/0.03843, allocations: 0 / 490.9 MB, free: 0.6562 MB / 458.8 MB Notification: Performance of Templates: time 0.01944/0.05787, allocations: 11.62 MB / 0.4908 GB, free: 5.133 MB / 474.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.983895772136748]