Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.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.HarmonicOscillatorNetwork_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80",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.0009517/0.0009517, allocations: 182.7 kB / 8.136 MB, free: 2.199 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.092/1.092, allocations: 221.4 MB / 230 MB, free: 3.082 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.0008924/0.0008924, allocations: 105.1 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5935/0.5935, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2967/0.8902, allocations: 88.96 MB / 0.5283 GB, free: 52.37 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.9898, allocations: 82.84 MB / 0.6092 GB, free: 3.488 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/1.419, allocations: 124.6 MB / 0.7308 GB, free: 5.348 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001451/1.419, allocations: 63.91 kB / 0.7309 GB, free: 5.324 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.05135/1.47, allocations: 18.28 MB / 0.7487 GB, free: 5.027 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/1.47, allocations: 12 kB / 0.7487 GB, free: 5.016 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/1.47, allocations: 91.16 kB / 0.7488 GB, free: 4.926 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/1.471, allocations: 469.7 kB / 0.7493 GB, free: 4.43 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/1.471, allocations: 28 kB / 0.7493 GB, free: 4.402 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/1.471, allocations: 175.1 kB / 0.7495 GB, free: 4.25 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/1.473, allocations: 0.8126 MB / 0.7503 GB, free: 3.598 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.474, allocations: 1.131 MB / 0.7514 GB, free: 2.672 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.277e-05/1.474, allocations: 43.52 kB / 0.7514 GB, free: 2.633 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.474, allocations: 0 / 0.7514 GB, free: 2.633 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.474, allocations: 24 kB / 0.7514 GB, free: 2.609 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/1.476, allocations: 1.342 MB / 0.7527 GB, free: 1.453 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/1.478, allocations: 1.556 MB / 0.7543 GB, free: 268 kB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/1.479, allocations: 0.8753 MB / 0.7551 GB, free: 15.63 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/1.479, allocations: 26 kB / 0.7551 GB, free: 15.61 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.479, allocations: 55.94 kB / 0.7552 GB, free: 15.56 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=240): time 2.975e-06/1.479, allocations: 0 / 0.7552 GB, free: 15.56 MB / 0.5265 GB Notification: Performance of matching and sorting (n=240): time 0.006084/1.485, allocations: 2.841 MB / 0.758 GB, free: 13.13 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/1.485, allocations: 77.41 kB / 0.758 GB, free: 13.05 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/1.485, allocations: 140.1 kB / 0.7582 GB, free: 12.93 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.486, allocations: 33.64 kB / 0.7582 GB, free: 12.89 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/1.486, allocations: 93.16 kB / 0.7583 GB, free: 12.79 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/1.486, allocations: 0.9442 MB / 0.7592 GB, free: 11.97 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/1.486, allocations: 0 / 0.7592 GB, free: 11.97 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.486, allocations: 440.6 kB / 0.7596 GB, free: 11.58 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/1.488, allocations: 0.9808 MB / 0.7606 GB, free: 10.83 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/1.489, allocations: 1.6 MB / 0.7622 GB, free: 9.281 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/1.491, allocations: 1.272 MB / 0.7634 GB, free: 8.277 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/1.491, allocations: 4 kB / 0.7634 GB, free: 8.273 MB / 0.5265 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.007004/1.498, allocations: 3.805 MB / 0.7671 GB, free: 5.051 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.498, allocations: 4 kB / 0.7671 GB, free: 5.047 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.498, allocations: 20 kB / 0.7672 GB, free: 5.027 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/1.503, allocations: 1.218 MB / 0.7683 GB, free: 3.898 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.505, allocations: 0.6446 MB / 0.769 GB, free: 3.273 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.517, allocations: 7.457 MB / 0.7763 GB, free: 13.05 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009319/1.517, allocations: 181.7 kB / 0.7764 GB, free: 12.88 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/1.518, allocations: 115.9 kB / 0.7765 GB, free: 12.79 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 320 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 79} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002982/1.518, allocations: 167.4 kB / 0.7767 GB, free: 12.62 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.518, allocations: 75.06 kB / 0.7768 GB, free: 12.55 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/1.518, allocations: 203.6 kB / 0.777 GB, free: 12.52 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.519, allocations: 24 kB / 0.777 GB, free: 12.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.519, allocations: 12 kB / 0.777 GB, free: 12.48 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.519, allocations: 11.95 kB / 0.777 GB, free: 12.47 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.52, allocations: 1.33 MB / 0.7783 GB, free: 11.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.52, allocations: 3.938 kB / 0.7783 GB, free: 11.32 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002922/1.523, allocations: 0.5106 MB / 0.7788 GB, free: 10.82 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005081/1.528, allocations: 1.208 MB / 0.78 GB, free: 9.715 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/1.528, allocations: 115.5 kB / 0.7801 GB, free: 9.609 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.54, allocations: 7.423 MB / 0.7873 GB, free: 3.422 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.54, allocations: 4.703 kB / 0.7874 GB, free: 3.418 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008414/1.548, allocations: 5.055 MB / 0.7923 GB, free: 15.09 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009773/1.558, allocations: 6.605 MB / 0.7987 GB, free: 9.484 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.558, allocations: 179.6 kB / 0.7989 GB, free: 9.289 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/1.558, allocations: 75.91 kB / 0.799 GB, free: 9.215 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/1.559, allocations: 27.91 kB / 0.799 GB, free: 9.188 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/1.559, allocations: 121.2 kB / 0.7991 GB, free: 9.086 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.559, allocations: 67.5 kB / 0.7992 GB, free: 9.031 MB / 0.5578 GB Notification: Performance of sort global known variables: time 2.738e-05/1.56, allocations: 83.08 kB / 0.7993 GB, free: 8.953 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001674/1.561, allocations: 436 kB / 0.7997 GB, free: 8.527 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 160 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],xm[41],xm[42],xm[43],xm[44],xm[45],xm[46],xm[47],xm[48],xm[49],xm[50],xm[51],xm[52],xm[53],xm[54],xm[55],xm[56],xm[57],xm[58],xm[59],xm[60],xm[61],xm[62],xm[63],xm[64],xm[65],xm[66],xm[67],xm[68],xm[69],xm[70],xm[71],xm[72],xm[73],xm[74],xm[75],xm[76],xm[77],xm[78],xm[79],xm[80],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 79} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003044/1.561, allocations: 192.9 kB / 0.7999 GB, free: 8.34 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.005219/1.567, allocations: 3.045 MB / 0.8028 GB, free: 5.844 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.567, allocations: 0 / 0.8028 GB, free: 5.844 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/1.57, allocations: 1.767 MB / 0.8046 GB, free: 4.367 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/1.571, allocations: 7.922 kB / 0.8046 GB, free: 4.359 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/1.585, allocations: 16.22 MB / 0.8204 GB, free: 4.324 MB / 0.5734 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007817/1.593, allocations: 4.288 MB / 0.8246 GB, free: 40 kB / 0.5734 GB Notification: Performance of SimCode: time 6.21e-07/1.593, allocations: 0 / 0.8246 GB, free: 40 kB / 0.5734 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_80.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_80_res.mat does not exist to compare? outputFormat=mat