Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",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.000959/0.0009591, allocations: 183.4 kB / 8.135 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.048/1.048, allocations: 221.4 MB / 229.9 MB, free: 3 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.0008557/0.0008558, allocations: 99.75 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5826/0.5826, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2968/0.8795, allocations: 88.96 MB / 0.5283 GB, free: 52.32 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.9795, allocations: 82.84 MB / 0.6092 GB, free: 3.48 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/1.394, allocations: 124.6 MB / 0.7308 GB, free: 5.332 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001436/1.394, allocations: 56.56 kB / 0.7309 GB, free: 5.312 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.01274/1.407, allocations: 4.867 MB / 0.7356 GB, free: 1.25 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/1.407, allocations: 8 kB / 0.7357 GB, free: 1.238 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.141e-05/1.407, allocations: 27.72 kB / 0.7357 GB, free: 1.211 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/1.407, allocations: 247 kB / 0.7359 GB, free: 0.9297 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.407, allocations: 8 kB / 0.7359 GB, free: 0.9219 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/1.407, allocations: 51.2 kB / 0.736 GB, free: 0.8789 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002784/1.407, allocations: 203.3 kB / 0.7362 GB, free: 0.7188 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/1.408, allocations: 308.3 kB / 0.7365 GB, free: 472 kB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.408, allocations: 15.2 kB / 0.7365 GB, free: 460 kB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/1.408, allocations: 0 / 0.7365 GB, free: 460 kB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/1.408, allocations: 8 kB / 0.7365 GB, free: 452 kB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/1.408, allocations: 427.8 kB / 0.7369 GB, free: 40 kB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/1.409, allocations: 439.2 kB / 0.7373 GB, free: 15.69 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/1.409, allocations: 227.8 kB / 0.7375 GB, free: 15.52 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/1.409, allocations: 8.5 kB / 0.7375 GB, free: 15.52 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/1.409, allocations: 37.69 kB / 0.7376 GB, free: 15.48 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=60): time 2.655e-06/1.409, allocations: 3.984 kB / 0.7376 GB, free: 15.47 MB / 0.5109 GB Notification: Performance of matching and sorting (n=60): time 0.001575/1.411, allocations: 0.7267 MB / 0.7383 GB, free: 14.84 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/1.411, allocations: 55.91 kB / 0.7383 GB, free: 14.77 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/1.411, allocations: 108.4 kB / 0.7384 GB, free: 14.66 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.411, allocations: 25.7 kB / 0.7385 GB, free: 14.63 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/1.411, allocations: 85.45 kB / 0.7385 GB, free: 14.55 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.411, allocations: 239.8 kB / 0.7388 GB, free: 14.34 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/1.411, allocations: 0 / 0.7388 GB, free: 14.34 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/1.411, allocations: 346.4 kB / 0.7391 GB, free: 14.01 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/1.412, allocations: 248.6 kB / 0.7393 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/1.412, allocations: 416 kB / 0.7397 GB, free: 13.44 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/1.412, allocations: 329 kB / 0.74 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1.412, allocations: 4 kB / 0.7401 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00176/1.414, allocations: 0.9619 MB / 0.741 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/1.414, allocations: 4.938 kB / 0.741 GB, free: 12.35 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.414, allocations: 11.98 kB / 0.741 GB, free: 12.34 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/1.416, allocations: 310 kB / 0.7413 GB, free: 12.05 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/1.416, allocations: 163.6 kB / 0.7415 GB, free: 11.9 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/1.419, allocations: 2.663 MB / 0.7441 GB, free: 9.449 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/1.42, allocations: 51.42 kB / 0.7441 GB, free: 9.398 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/1.42, allocations: 25.38 kB / 0.7441 GB, free: 9.379 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.42, allocations: 115.3 kB / 0.7442 GB, free: 9.262 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/1.42, allocations: 23.72 kB / 0.7443 GB, free: 9.238 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.706e-05/1.42, allocations: 50.91 kB / 0.7443 GB, free: 9.227 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.42, allocations: 15.88 kB / 0.7443 GB, free: 9.211 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.42, allocations: 8 kB / 0.7443 GB, free: 9.203 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.42, allocations: 3.984 kB / 0.7443 GB, free: 9.199 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/1.42, allocations: 435.7 kB / 0.7448 GB, free: 8.789 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.42, allocations: 4 kB / 0.7448 GB, free: 8.785 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/1.421, allocations: 134.7 kB / 0.7449 GB, free: 8.66 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/1.422, allocations: 301 kB / 0.7452 GB, free: 8.387 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/1.423, allocations: 31.28 kB / 0.7452 GB, free: 8.359 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003153/1.426, allocations: 2.652 MB / 0.7478 GB, free: 5.922 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.426, allocations: 3.984 kB / 0.7478 GB, free: 5.918 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001796/1.427, allocations: 1.121 MB / 0.7489 GB, free: 4.965 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0022/1.43, allocations: 1.767 MB / 0.7506 GB, free: 3.43 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/1.43, allocations: 104.7 kB / 0.7507 GB, free: 3.309 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/1.43, allocations: 19.98 kB / 0.7507 GB, free: 3.289 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/1.43, allocations: 11.92 kB / 0.7508 GB, free: 3.277 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/1.43, allocations: 31.64 kB / 0.7508 GB, free: 3.25 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/1.43, allocations: 18.48 kB / 0.7508 GB, free: 3.238 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.363e-05/1.43, allocations: 79.28 kB / 0.7509 GB, free: 3.16 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0009143/1.431, allocations: 115.8 kB / 0.751 GB, free: 3.047 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001358/1.431, allocations: 131.5 kB / 0.7511 GB, free: 2.914 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.001364/1.433, allocations: 0.8233 MB / 0.7519 GB, free: 2.219 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.433, allocations: 1.188 kB / 0.7519 GB, free: 2.219 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/1.434, allocations: 0.5057 MB / 0.7524 GB, free: 1.777 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/1.434, allocations: 7.625 kB / 0.7524 GB, free: 1.773 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/1.437, allocations: 3.182 MB / 0.7555 GB, free: 14.61 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/1.437, allocations: 1.045 MB / 0.7565 GB, free: 13.56 MB / 0.5265 GB Notification: Performance of SimCode: time 3.31e-07/1.438, allocations: 0 / 0.7565 GB, free: 13.56 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat does not exist to compare? outputFormat=mat