Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",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.001054/0.001054, allocations: 184 kB / 8.138 MB, free: 2.223 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.066/1.066, allocations: 221.4 MB / 229.9 MB, free: 3.07 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.0008671/0.0008671, allocations: 106.2 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5953/0.5953, allocations: 120.4 MB / 452 MB, free: 13.02 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3039/0.8993, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/1.001, allocations: 82.85 MB / 0.6092 GB, free: 3.48 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/1.44, allocations: 124.6 MB / 0.7308 GB, free: 5.004 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001621/1.441, allocations: 59.66 kB / 0.7309 GB, free: 4.98 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.02595/1.467, allocations: 9.334 MB / 0.74 GB, free: 12.84 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/1.467, allocations: 8 kB / 0.74 GB, free: 12.83 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/1.467, allocations: 47.53 kB / 0.7401 GB, free: 12.78 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/1.467, allocations: 313.7 kB / 0.7404 GB, free: 12.44 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/1.467, allocations: 20 kB / 0.7404 GB, free: 12.42 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.467, allocations: 89.86 kB / 0.7405 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006739/1.468, allocations: 412.9 kB / 0.7409 GB, free: 12.02 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/1.469, allocations: 0.5822 MB / 0.7414 GB, free: 11.54 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/1.469, allocations: 20.55 kB / 0.7414 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/1.469, allocations: 0 / 0.7414 GB, free: 11.52 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.469, allocations: 12 kB / 0.7415 GB, free: 11.5 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/1.47, allocations: 0.7322 MB / 0.7422 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.471, allocations: 0.8021 MB / 0.743 GB, free: 10.23 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/1.472, allocations: 445.4 kB / 0.7434 GB, free: 9.914 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 6.647e-05/1.472, allocations: 13 kB / 0.7434 GB, free: 9.898 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/1.472, allocations: 42.19 kB / 0.7434 GB, free: 9.855 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=120): time 3.416e-06/1.472, allocations: 3.984 kB / 0.7434 GB, free: 9.852 MB / 0.5109 GB Notification: Performance of matching and sorting (n=120): time 0.003207/1.475, allocations: 1.435 MB / 0.7448 GB, free: 8.621 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/1.475, allocations: 66.59 kB / 0.7449 GB, free: 8.547 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/1.475, allocations: 117 kB / 0.745 GB, free: 8.438 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/1.475, allocations: 25.7 kB / 0.745 GB, free: 8.406 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/1.475, allocations: 90.66 kB / 0.7451 GB, free: 8.312 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/1.476, allocations: 474.6 kB / 0.7456 GB, free: 7.91 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/1.476, allocations: 0 / 0.7456 GB, free: 7.91 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.476, allocations: 381.5 kB / 0.7459 GB, free: 7.555 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/1.476, allocations: 0.4886 MB / 0.7464 GB, free: 7.184 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008368/1.477, allocations: 0.8079 MB / 0.7472 GB, free: 6.402 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/1.478, allocations: 0.6375 MB / 0.7478 GB, free: 5.895 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.478, allocations: 0.9375 kB / 0.7478 GB, free: 5.895 MB / 0.5109 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003641/1.482, allocations: 1.914 MB / 0.7497 GB, free: 4.27 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.482, allocations: 4 kB / 0.7497 GB, free: 4.266 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.482, allocations: 12.75 kB / 0.7497 GB, free: 4.254 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/1.484, allocations: 0.6163 MB / 0.7503 GB, free: 3.684 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/1.485, allocations: 326.5 kB / 0.7506 GB, free: 3.371 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/1.492, allocations: 4.256 MB / 0.7548 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/1.492, allocations: 86.88 kB / 0.7549 GB, free: 15.57 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/1.492, allocations: 62.11 kB / 0.7549 GB, free: 15.52 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.493, allocations: 136 kB / 0.7551 GB, free: 15.39 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/1.493, allocations: 47.38 kB / 0.7551 GB, free: 15.34 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/1.493, allocations: 106.7 kB / 0.7552 GB, free: 15.32 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.493, allocations: 12 kB / 0.7552 GB, free: 15.31 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.493, allocations: 4 kB / 0.7552 GB, free: 15.31 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/1.493, allocations: 3.984 kB / 0.7552 GB, free: 15.3 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009047/1.494, allocations: 0.7262 MB / 0.7559 GB, free: 14.65 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.494, allocations: 4 kB / 0.7559 GB, free: 14.64 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/1.495, allocations: 267.2 kB / 0.7562 GB, free: 14.39 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/1.498, allocations: 0.5959 MB / 0.7568 GB, free: 13.84 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.498, allocations: 51.5 kB / 0.7568 GB, free: 13.8 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/1.504, allocations: 4.238 MB / 0.761 GB, free: 10.1 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.504, allocations: 3.984 kB / 0.761 GB, free: 10.09 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00385/1.508, allocations: 2.306 MB / 0.7632 GB, free: 8.145 MB / 0.5265 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004604/1.513, allocations: 3.255 MB / 0.7664 GB, free: 5.371 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/1.513, allocations: 131.9 kB / 0.7665 GB, free: 5.227 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.513, allocations: 43.95 kB / 0.7666 GB, free: 5.184 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/1.513, allocations: 15.89 kB / 0.7666 GB, free: 5.168 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.513, allocations: 60.66 kB / 0.7666 GB, free: 5.117 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/1.514, allocations: 31.61 kB / 0.7667 GB, free: 5.094 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.867e-05/1.514, allocations: 79.28 kB / 0.7667 GB, free: 5.016 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.001269/1.515, allocations: 219.9 kB / 0.7669 GB, free: 4.801 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/1.515, allocations: 154.5 kB / 0.7671 GB, free: 4.648 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002906/1.518, allocations: 1.564 MB / 0.7686 GB, free: 3.352 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.518, allocations: 4.062 kB / 0.7686 GB, free: 3.348 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/1.52, allocations: 0.9203 MB / 0.7695 GB, free: 2.566 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/1.52, allocations: 3.938 kB / 0.7695 GB, free: 2.562 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006917/1.527, allocations: 6.908 MB / 0.7763 GB, free: 11.73 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/1.529, allocations: 1.747 MB / 0.778 GB, free: 9.98 MB / 0.5421 GB Notification: Performance of SimCode: time 5.31e-07/1.529, allocations: 0 / 0.778 GB, free: 9.98 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat does not exist to compare? outputFormat=mat