Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",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.0009404/0.0009405, allocations: 181.2 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.04/1.04, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0009178/0.000918, allocations: 97.11 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5861/0.5861, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3027/0.8888, allocations: 88.96 MB / 0.5283 GB, free: 52.34 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.9909, allocations: 82.85 MB / 0.6092 GB, free: 3.473 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/1.419, allocations: 124.6 MB / 0.7308 GB, free: 5.453 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001464/1.419, allocations: 62.97 kB / 0.7309 GB, free: 5.426 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.006988/1.426, allocations: 2.628 MB / 0.7335 GB, free: 3.41 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/1.426, allocations: 8 kB / 0.7335 GB, free: 3.398 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/1.426, allocations: 18.38 kB / 0.7335 GB, free: 3.383 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.426, allocations: 195 kB / 0.7337 GB, free: 3.152 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/1.426, allocations: 8 kB / 0.7337 GB, free: 3.145 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/1.426, allocations: 27.45 kB / 0.7337 GB, free: 3.121 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001689/1.427, allocations: 104.6 kB / 0.7338 GB, free: 3.039 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/1.427, allocations: 164.2 kB / 0.734 GB, free: 2.895 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.427, allocations: 12.66 kB / 0.734 GB, free: 2.887 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/1.427, allocations: 0 / 0.734 GB, free: 2.887 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.427, allocations: 0 / 0.734 GB, free: 2.887 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/1.427, allocations: 278.6 kB / 0.7342 GB, free: 2.605 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/1.428, allocations: 243.4 kB / 0.7345 GB, free: 2.406 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/1.428, allocations: 112.8 kB / 0.7346 GB, free: 2.324 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.428, allocations: 4 kB / 0.7346 GB, free: 2.32 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/1.428, allocations: 45.89 kB / 0.7346 GB, free: 2.27 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=30): time 1.373e-06/1.428, allocations: 0 / 0.7346 GB, free: 2.27 MB / 0.4953 GB Notification: Performance of matching and sorting (n=30): time 0.0007699/1.429, allocations: 385.1 kB / 0.735 GB, free: 1.934 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.361e-05/1.429, allocations: 55.41 kB / 0.735 GB, free: 1.867 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.464e-05/1.429, allocations: 92.5 kB / 0.7351 GB, free: 1.773 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/1.429, allocations: 25.7 kB / 0.7352 GB, free: 1.742 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/1.429, allocations: 88.8 kB / 0.7352 GB, free: 1.648 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/1.429, allocations: 124.6 kB / 0.7354 GB, free: 1.543 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/1.429, allocations: 4 kB / 0.7354 GB, free: 1.539 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.93e-05/1.429, allocations: 329.1 kB / 0.7357 GB, free: 17.21 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/1.429, allocations: 126.9 kB / 0.7358 GB, free: 17.12 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/1.429, allocations: 216.9 kB / 0.736 GB, free: 16.91 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/1.429, allocations: 150.9 kB / 0.7361 GB, free: 16.8 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.429, allocations: 4 kB / 0.7362 GB, free: 16.79 MB / 0.5109 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008325/1.43, allocations: 0.4948 MB / 0.7366 GB, free: 16.36 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/1.43, allocations: 4 kB / 0.7366 GB, free: 16.36 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.43, allocations: 0 / 0.7366 GB, free: 16.36 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/1.431, allocations: 159.1 kB / 0.7368 GB, free: 16.21 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.431, allocations: 83.84 kB / 0.7369 GB, free: 16.13 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/1.433, allocations: 1.872 MB / 0.7387 GB, free: 14.29 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/1.433, allocations: 19.69 kB / 0.7387 GB, free: 14.27 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/1.433, allocations: 19.03 kB / 0.7387 GB, free: 14.26 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/1.433, allocations: 117 kB / 0.7388 GB, free: 14.14 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/1.433, allocations: 7.906 kB / 0.7389 GB, free: 14.13 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.478e-05/1.433, allocations: 31.81 kB / 0.7389 GB, free: 14.12 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.433, allocations: 4 kB / 0.7389 GB, free: 14.12 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.433, allocations: 3.906 kB / 0.7389 GB, free: 14.12 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.433, allocations: 3.984 kB / 0.7389 GB, free: 14.11 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/1.434, allocations: 277.4 kB / 0.7392 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.434, allocations: 0 / 0.7392 GB, free: 13.83 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/1.434, allocations: 63.03 kB / 0.7392 GB, free: 13.77 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006339/1.435, allocations: 157.5 kB / 0.7394 GB, free: 13.63 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/1.435, allocations: 17.86 kB / 0.7394 GB, free: 13.62 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.437, allocations: 1.873 MB / 0.7412 GB, free: 11.78 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.437, allocations: 0 / 0.7412 GB, free: 11.78 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009204/1.438, allocations: 0.5584 MB / 0.7418 GB, free: 11.29 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001188/1.439, allocations: 1.073 MB / 0.7428 GB, free: 10.32 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/1.439, allocations: 92.86 kB / 0.7429 GB, free: 10.21 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/1.439, allocations: 11.98 kB / 0.7429 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/1.439, allocations: 0 / 0.7429 GB, free: 10.2 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/1.439, allocations: 18.84 kB / 0.7429 GB, free: 10.19 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.439, allocations: 11.94 kB / 0.7429 GB, free: 10.18 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.451e-05/1.439, allocations: 79.28 kB / 0.743 GB, free: 10.1 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0008282/1.44, allocations: 56 kB / 0.7431 GB, free: 10.05 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/1.44, allocations: 108.1 kB / 0.7432 GB, free: 9.934 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007648/1.441, allocations: 462.4 kB / 0.7436 GB, free: 9.539 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.441, allocations: 0 / 0.7436 GB, free: 9.539 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004982/1.441, allocations: 306.6 kB / 0.7439 GB, free: 9.27 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/1.442, allocations: 16.39 kB / 0.7439 GB, free: 9.254 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/1.443, allocations: 1.549 MB / 0.7454 GB, free: 7.703 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/1.444, allocations: 0.8268 MB / 0.7462 GB, free: 6.852 MB / 0.5109 GB Notification: Performance of SimCode: time 2.61e-07/1.444, allocations: 4 kB / 0.7462 GB, free: 6.848 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat does not exist to compare? outputFormat=mat