Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.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.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_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001008, allocations: 90.8 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9048/0.9048, allocations: 120.5 MB / 463 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003415, allocations: 11.28 kB / 0.5433 GB, free: 42.46 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 82.85 MB / 0.6242 GB, free: 9.242 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.722/0.9204, allocations: 125.3 MB / 0.7466 GB, free: 8.773 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.9207, allocations: 58.84 kB / 0.7467 GB, free: 8.742 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.05052/0.9712, allocations: 15.66 MB / 0.762 GB, free: 10.72 MB / 0.5263 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9713, allocations: 0 / 0.762 GB, free: 10.72 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 2.842e-05/0.9713, allocations: 24 kB / 0.762 GB, free: 10.7 MB / 0.5263 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.003095/0.9744, allocations: 1.284 MB / 0.7633 GB, free: 9.41 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.9745, allocations: 12.03 kB / 0.7633 GB, free: 9.398 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.9747, allocations: 91.2 kB / 0.7634 GB, free: 9.309 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.9756, allocations: 447.4 kB / 0.7638 GB, free: 8.832 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.9757, allocations: 107.6 kB / 0.7639 GB, free: 8.777 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003005/0.976, allocations: 248.5 kB / 0.7641 GB, free: 8.605 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.9777, allocations: 1.064 MB / 0.7652 GB, free: 7.777 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.088e-05/0.9778, allocations: 54.78 kB / 0.7652 GB, free: 7.73 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/0.9779, allocations: 27.25 kB / 0.7652 GB, free: 7.727 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.9779, allocations: 23.95 kB / 0.7653 GB, free: 7.703 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.9792, allocations: 0.8387 MB / 0.7661 GB, free: 7.023 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.9807, allocations: 1.094 MB / 0.7671 GB, free: 6.117 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.9821, allocations: 1.051 MB / 0.7682 GB, free: 5.301 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 8.812e-05/0.9822, allocations: 22 kB / 0.7682 GB, free: 5.281 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.9822, allocations: 55.94 kB / 0.7682 GB, free: 5.234 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=200): time 3.186e-06/0.9822, allocations: 0 / 0.7682 GB, free: 5.234 MB / 0.5263 GB Notification: Performance of matching and sorting (n=200): time 0.003364/0.9856, allocations: 2.241 MB / 0.7704 GB, free: 3.492 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.9857, allocations: 77.41 kB / 0.7705 GB, free: 3.406 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.9858, allocations: 156 kB / 0.7707 GB, free: 3.273 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.986, allocations: 95.39 kB / 0.7707 GB, free: 3.223 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.9861, allocations: 120.1 kB / 0.7709 GB, free: 3.121 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/0.9867, allocations: 0.8768 MB / 0.7717 GB, free: 2.367 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.9868, allocations: 61.88 kB / 0.7718 GB, free: 2.355 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.987, allocations: 443.8 kB / 0.7722 GB, free: 1.961 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.9884, allocations: 0.9452 MB / 0.7731 GB, free: 1.246 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.9903, allocations: 1.704 MB / 0.7748 GB, free: 15.53 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.992, allocations: 1.224 MB / 0.776 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.9921, allocations: 8 kB / 0.776 GB, free: 14.66 MB / 0.5419 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004171/0.9962, allocations: 2.952 MB / 0.7789 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.9963, allocations: 23.16 kB / 0.7789 GB, free: 12.37 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.9963, allocations: 20 kB / 0.7789 GB, free: 12.35 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.503e-05/0.9964, allocations: 44 kB / 0.779 GB, free: 12.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/0.9994, allocations: 0.8383 MB / 0.7798 GB, free: 11.49 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-05/0.9995, allocations: 55.8 kB / 0.7798 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.001, allocations: 275.5 kB / 0.7801 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.001, allocations: 122.8 kB / 0.7802 GB, free: 11.12 MB / 0.5419 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.0005759/1.001, allocations: 365.4 kB / 0.7806 GB, free: 10.83 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/1.002, allocations: 63.25 kB / 0.7806 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/1.002, allocations: 181.1 kB / 0.7808 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/1.002, allocations: 20 kB / 0.7808 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.002, allocations: 4 kB / 0.7808 GB, free: 10.72 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.002, allocations: 11.95 kB / 0.7808 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.003, allocations: 1.017 MB / 0.7818 GB, free: 9.82 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.003, allocations: 4 kB / 0.7818 GB, free: 9.816 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00401/1.007, allocations: 0.6938 MB / 0.7825 GB, free: 9.145 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/1.008, allocations: 4 kB / 0.7825 GB, free: 9.141 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002437/1.008, allocations: 126.9 kB / 0.7826 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/1.008, allocations: 11.98 kB / 0.7826 GB, free: 9.031 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.008, allocations: 0 / 0.7826 GB, free: 9.031 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/1.011, allocations: 2.46 MB / 0.785 GB, free: 7.07 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/1.011, allocations: 167.9 kB / 0.7852 GB, free: 6.887 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/1.012, allocations: 107 kB / 0.7853 GB, free: 6.805 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/1.012, allocations: 83.11 kB / 0.7854 GB, free: 6.75 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.012, allocations: 121.4 kB / 0.7855 GB, free: 6.645 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.013, allocations: 55.59 kB / 0.7855 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.014e-05/1.013, allocations: 83.22 kB / 0.7856 GB, free: 6.523 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.013, allocations: 0 / 0.7856 GB, free: 6.523 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.001215/1.014, allocations: 396.2 kB / 0.786 GB, free: 6.207 MB / 0.5419 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.0003858/1.014, allocations: 270.9 kB / 0.7863 GB, free: 5.973 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.003359/1.018, allocations: 2.194 MB / 0.7884 GB, free: 4.238 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.018, allocations: 4.062 kB / 0.7884 GB, free: 4.234 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/1.019, allocations: 0.9123 MB / 0.7893 GB, free: 3.527 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/1.019, allocations: 44.28 kB / 0.7893 GB, free: 3.512 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/1.037, allocations: 15.78 MB / 0.8047 GB, free: 3.957 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008016/1.038, allocations: 1.175 MB / 0.8059 GB, free: 2.762 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.002217/1.04, allocations: 0.783 MB / 0.8067 GB, free: 1.973 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/1.041, allocations: 95.44 kB / 0.8068 GB, free: 1.879 MB / 0.5575 GB Notification: Performance of SimCode: time 1.533e-06/1.041, allocations: 0 / 0.8068 GB, free: 1.879 MB / 0.5575 GB Notification: Performance of Templates: time 0.01914/1.06, allocations: 10.83 MB / 0.8173 GB, free: 7.082 MB / 0.5732 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches