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 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_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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009748/0.0009749, allocations: 183.8 kB / 8.138 MB, free: 2.219 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.101/1.101, allocations: 221.4 MB / 229.9 MB, free: 3.219 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.0009991/0.0009991, allocations: 96.67 kB / 280.8 MB, free: 1.199 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6715/0.6715, allocations: 120.4 MB / 452 MB, free: 12.93 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.559e-06/4.579e-06, allocations: 0 / 0.5282 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 82.84 MB / 0.6091 GB, free: 3.5 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.5615, allocations: 124.5 MB / 0.7307 GB, free: 5.145 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.5617, allocations: 63.38 kB / 0.7308 GB, free: 5.121 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.04677/0.6085, allocations: 15.35 MB / 0.7458 GB, free: 7.961 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.6085, allocations: 16 kB / 0.7458 GB, free: 7.945 MB / 0.5109 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.003015/0.6116, allocations: 1.226 MB / 0.747 GB, free: 6.723 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6116, allocations: 8.031 kB / 0.747 GB, free: 6.715 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.6119, allocations: 91.25 kB / 0.7471 GB, free: 6.625 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.6126, allocations: 455.8 kB / 0.7475 GB, free: 6.141 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.6126, allocations: 24 kB / 0.7475 GB, free: 6.117 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.6129, allocations: 188.5 kB / 0.7477 GB, free: 5.957 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001271/0.6142, allocations: 0.8018 MB / 0.7485 GB, free: 5.309 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.6157, allocations: 0.9922 MB / 0.7494 GB, free: 4.5 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/0.6158, allocations: 50.92 kB / 0.7495 GB, free: 4.457 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/0.6159, allocations: 0 / 0.7495 GB, free: 4.457 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6159, allocations: 28 kB / 0.7495 GB, free: 4.43 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.6172, allocations: 0.9372 MB / 0.7504 GB, free: 3.598 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.6184, allocations: 0.99 MB / 0.7514 GB, free: 2.848 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008048/0.6192, allocations: 0.6674 MB / 0.7521 GB, free: 2.375 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 9.159e-05/0.6193, allocations: 22 kB / 0.7521 GB, free: 2.352 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.6194, allocations: 53.62 kB / 0.7521 GB, free: 2.305 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=200): time 3.827e-06/0.6194, allocations: 4 kB / 0.7521 GB, free: 2.301 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200): time 0.002212/0.6216, allocations: 1.525 MB / 0.7536 GB, free: 1.051 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.6216, allocations: 73.41 kB / 0.7537 GB, free: 0.9648 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.6218, allocations: 155.9 kB / 0.7538 GB, free: 0.832 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.6219, allocations: 25.7 kB / 0.7539 GB, free: 0.8008 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.6219, allocations: 96.84 kB / 0.754 GB, free: 0.6992 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005506/0.6225, allocations: 0.8595 MB / 0.7548 GB, free: 15.96 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6226, allocations: 3.938 kB / 0.7548 GB, free: 15.96 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.6228, allocations: 439.7 kB / 0.7552 GB, free: 15.57 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.6241, allocations: 0.9132 MB / 0.7561 GB, free: 14.88 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.6257, allocations: 1.645 MB / 0.7577 GB, free: 13.23 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.6273, allocations: 1.213 MB / 0.7589 GB, free: 12.28 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.6273, allocations: 8 kB / 0.7589 GB, free: 12.27 MB / 0.5265 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003683/0.631, allocations: 2.695 MB / 0.7615 GB, free: 10.04 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6311, allocations: 4 kB / 0.7615 GB, free: 10.04 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.6311, allocations: 27.98 kB / 0.7616 GB, free: 10.01 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.299e-05/0.6311, allocations: 40 kB / 0.7616 GB, free: 9.973 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003038/0.6342, allocations: 0.8263 MB / 0.7624 GB, free: 9.172 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.084e-05/0.6343, allocations: 55.8 kB / 0.7625 GB, free: 9.117 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6353, allocations: 197.6 kB / 0.7627 GB, free: 8.922 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.6355, allocations: 115.9 kB / 0.7628 GB, free: 8.832 MB / 0.5265 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 () * 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.0003535/0.6359, allocations: 183.7 kB / 0.7629 GB, free: 8.652 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.636, allocations: 67.16 kB / 0.763 GB, free: 8.586 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.6363, allocations: 162.8 kB / 0.7632 GB, free: 8.551 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.6364, allocations: 20 kB / 0.7632 GB, free: 8.531 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.6364, allocations: 0 / 0.7632 GB, free: 8.531 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/0.6364, allocations: 11.95 kB / 0.7632 GB, free: 8.52 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.6377, allocations: 0.914 MB / 0.7641 GB, free: 7.695 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6377, allocations: 0 / 0.7641 GB, free: 7.695 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004211/0.6419, allocations: 0.6818 MB / 0.7648 GB, free: 7.035 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.6419, allocations: 8 kB / 0.7648 GB, free: 7.027 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/0.6422, allocations: 127.1 kB / 0.7649 GB, free: 6.914 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.6422, allocations: 8 kB / 0.7649 GB, free: 6.906 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6422, allocations: 0 / 0.7649 GB, free: 6.906 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002966/0.6452, allocations: 2.298 MB / 0.7671 GB, free: 5.027 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6453, allocations: 167.8 kB / 0.7673 GB, free: 4.844 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.6456, allocations: 91.89 kB / 0.7674 GB, free: 4.754 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.6463, allocations: 31.97 kB / 0.7674 GB, free: 4.723 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.6465, allocations: 107.8 kB / 0.7675 GB, free: 4.633 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.6466, allocations: 59.58 kB / 0.7676 GB, free: 4.586 MB / 0.5265 GB Notification: Performance of sort global known variables: time 3.66e-05/0.6467, allocations: 83.45 kB / 0.7677 GB, free: 4.504 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001048/0.6477, allocations: 308 kB / 0.7679 GB, free: 4.203 MB / 0.5265 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 () * 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.0003339/0.6481, allocations: 214.2 kB / 0.7682 GB, free: 4 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.6509, allocations: 2.113 MB / 0.7702 GB, free: 2.336 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.651, allocations: 0 / 0.7702 GB, free: 2.336 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.652, allocations: 0.8898 MB / 0.7711 GB, free: 1.656 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.6522, allocations: 7.812 kB / 0.7711 GB, free: 1.652 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.667, allocations: 13.93 MB / 0.7847 GB, free: 3.879 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.6683, allocations: 1.285 MB / 0.786 GB, free: 2.594 MB / 0.5421 GB Notification: Performance of SimCode: time 5.21e-07/0.6683, allocations: 0 / 0.786 GB, free: 2.594 MB / 0.5421 GB Notification: Performance of Templates: time 0.02457/0.6929, allocations: 16.51 MB / 0.8021 GB, free: 2.098 MB / 0.5578 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/jenkins/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