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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100",fmuType="me",version="2.0",platforms={"static"}) [: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.0009268/0.0009268, allocations: 180.7 kB / 8.132 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.028/1.028, allocations: 221.4 MB / 229.9 MB, free: 3.09 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.000917/0.000917, allocations: 100.1 kB / 280.8 MB, free: 1.207 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5819/0.5819, allocations: 120.4 MB / 452 MB, free: 12.86 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2894/0.8713, allocations: 88.96 MB / 0.5283 GB, free: 52.24 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.9692, allocations: 82.84 MB / 0.6092 GB, free: 3.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4099/1.379, allocations: 124.5 MB / 0.7308 GB, free: 4.688 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001466/1.379, allocations: 58.7 kB / 0.7309 GB, free: 4.664 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.04825/1.428, allocations: 16.6 MB / 0.7471 GB, free: 6.242 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/1.428, allocations: 12 kB / 0.7471 GB, free: 6.23 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/1.428, allocations: 89.88 kB / 0.7472 GB, free: 6.145 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/1.428, allocations: 455.9 kB / 0.7476 GB, free: 5.66 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/1.428, allocations: 24 kB / 0.7476 GB, free: 5.637 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/1.429, allocations: 187 kB / 0.7478 GB, free: 5.477 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001177/1.43, allocations: 0.8006 MB / 0.7486 GB, free: 4.828 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.431, allocations: 0.9924 MB / 0.7495 GB, free: 4.02 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/1.431, allocations: 50.92 kB / 0.7496 GB, free: 3.977 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/1.432, allocations: 0 / 0.7496 GB, free: 3.977 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/1.432, allocations: 20 kB / 0.7496 GB, free: 3.957 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.433, allocations: 0.9407 MB / 0.7505 GB, free: 3.121 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.434, allocations: 0.9967 MB / 0.7515 GB, free: 2.363 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007645/1.435, allocations: 0.6655 MB / 0.7522 GB, free: 1.895 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 8.85e-05/1.435, allocations: 22 kB / 0.7522 GB, free: 1.871 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.435, allocations: 54.81 kB / 0.7522 GB, free: 1.824 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=200): time 2.454e-06/1.435, allocations: 0 / 0.7522 GB, free: 1.824 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200): time 0.002108/1.437, allocations: 1.527 MB / 0.7537 GB, free: 0.5703 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/1.437, allocations: 69.41 kB / 0.7538 GB, free: 500 kB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/1.437, allocations: 160.4 kB / 0.7539 GB, free: 360 kB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/1.437, allocations: 25.7 kB / 0.754 GB, free: 328 kB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/1.437, allocations: 96.84 kB / 0.7541 GB, free: 224 kB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/1.438, allocations: 0.8613 MB / 0.7549 GB, free: 15.48 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/1.438, allocations: 0 / 0.7549 GB, free: 15.48 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.438, allocations: 443.6 kB / 0.7553 GB, free: 15.08 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.439, allocations: 0.9051 MB / 0.7562 GB, free: 14.41 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/1.441, allocations: 1.65 MB / 0.7578 GB, free: 12.75 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.442, allocations: 1.209 MB / 0.759 GB, free: 11.8 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/1.442, allocations: 8 kB / 0.759 GB, free: 11.79 MB / 0.5265 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003472/1.446, allocations: 2.696 MB / 0.7616 GB, free: 9.562 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/1.446, allocations: 8.219 kB / 0.7616 GB, free: 9.555 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/1.446, allocations: 24 kB / 0.7617 GB, free: 9.531 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.828e-05/1.446, allocations: 43.98 kB / 0.7617 GB, free: 9.488 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.449, allocations: 0.8259 MB / 0.7625 GB, free: 8.688 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-05/1.449, allocations: 60.62 kB / 0.7626 GB, free: 8.629 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/1.45, allocations: 197.6 kB / 0.7628 GB, free: 8.434 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.45, allocations: 119.9 kB / 0.7629 GB, free: 8.34 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.0002723/1.45, allocations: 178.6 kB / 0.7631 GB, free: 8.164 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.45, allocations: 67.16 kB / 0.7631 GB, free: 8.098 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/1.451, allocations: 158.3 kB / 0.7633 GB, free: 8.066 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.451, allocations: 20 kB / 0.7633 GB, free: 8.047 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/1.451, allocations: 0 / 0.7633 GB, free: 8.047 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.451, allocations: 11.97 kB / 0.7633 GB, free: 8.035 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.452, allocations: 0.9248 MB / 0.7642 GB, free: 7.199 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.452, allocations: 0 / 0.7642 GB, free: 7.199 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004099/1.456, allocations: 0.6829 MB / 0.7649 GB, free: 6.539 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/1.456, allocations: 4 kB / 0.7649 GB, free: 6.535 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/1.456, allocations: 128.2 kB / 0.765 GB, free: 6.422 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.456, allocations: 8 kB / 0.765 GB, free: 6.414 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.456, allocations: 0 / 0.765 GB, free: 6.414 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002624/1.459, allocations: 2.3 MB / 0.7672 GB, free: 4.535 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003589/1.462, allocations: 3.518 MB / 0.7707 GB, free: 1.609 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/1.462, allocations: 159.9 kB / 0.7708 GB, free: 1.434 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/1.463, allocations: 91.89 kB / 0.7709 GB, free: 1.344 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/1.463, allocations: 35.95 kB / 0.771 GB, free: 1.309 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.464, allocations: 102.3 kB / 0.7711 GB, free: 1.223 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.464, allocations: 63.95 kB / 0.7711 GB, free: 1.172 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.591e-05/1.464, allocations: 86.98 kB / 0.7712 GB, free: 1.09 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001438/1.465, allocations: 308 kB / 0.7715 GB, free: 0.7891 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.0002811/1.465, allocations: 219.3 kB / 0.7717 GB, free: 0.5781 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002276/1.468, allocations: 2.109 MB / 0.7738 GB, free: 14.92 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.468, allocations: 0 / 0.7738 GB, free: 14.92 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/1.469, allocations: 0.8889 MB / 0.7746 GB, free: 14.24 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.469, allocations: 13.56 kB / 0.7746 GB, free: 14.23 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.483, allocations: 14.25 MB / 0.7886 GB, free: 136 kB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.484, allocations: 1.754 MB / 0.7903 GB, free: 14.38 MB / 0.5578 GB Notification: Performance of SimCode: time 2.6e-07/1.484, allocations: 0 / 0.7903 GB, free: 14.38 MB / 0.5578 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat does not exist to compare? outputFormat=mat