Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",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.001142/0.001142, allocations: 182.9 kB / 8.134 MB, free: 2.188 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.047/1.047, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0009976/0.0009976, allocations: 94.69 kB / 280.8 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5958/0.5958, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.294/0.8899, allocations: 88.96 MB / 0.5283 GB, free: 52.39 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.9916, allocations: 82.84 MB / 0.6092 GB, free: 3.469 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.421/1.413, allocations: 124.5 MB / 0.7308 GB, free: 5.125 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001027/1.413, allocations: 52.5 kB / 0.7308 GB, free: 5.109 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003308/1.416, allocations: 1.323 MB / 0.7321 GB, free: 4.188 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/1.416, allocations: 12 kB / 0.7321 GB, free: 4.172 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/1.416, allocations: 3.906 kB / 0.7322 GB, free: 4.168 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.416, allocations: 191.3 kB / 0.7323 GB, free: 3.945 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-06/1.416, allocations: 0 / 0.7323 GB, free: 3.945 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/1.416, allocations: 13.47 kB / 0.7323 GB, free: 3.938 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.369e-05/1.416, allocations: 37.28 kB / 0.7324 GB, free: 3.914 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1.417, allocations: 83.14 kB / 0.7325 GB, free: 3.852 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.417, allocations: 3.906 kB / 0.7325 GB, free: 3.848 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/1.417, allocations: 0 / 0.7325 GB, free: 3.848 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/1.417, allocations: 4 kB / 0.7325 GB, free: 3.844 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/1.417, allocations: 183.5 kB / 0.7326 GB, free: 3.652 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/1.417, allocations: 132.4 kB / 0.7328 GB, free: 3.547 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/1.417, allocations: 47.3 kB / 0.7328 GB, free: 3.512 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/1.417, allocations: 5.078 kB / 0.7328 GB, free: 3.508 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.336e-06/1.417, allocations: 30.56 kB / 0.7329 GB, free: 3.469 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/1.417, allocations: 0 / 0.7329 GB, free: 3.469 MB / 0.4953 GB Notification: Performance of matching and sorting (n=12): time 0.0003781/1.418, allocations: 169.8 kB / 0.733 GB, free: 3.336 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.211e-05/1.418, allocations: 51.41 kB / 0.7331 GB, free: 3.273 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.269e-05/1.418, allocations: 94.34 kB / 0.7332 GB, free: 3.18 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/1.418, allocations: 26.03 kB / 0.7332 GB, free: 3.148 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-06/1.418, allocations: 80.84 kB / 0.7333 GB, free: 3.066 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/1.418, allocations: 51.14 kB / 0.7333 GB, free: 3.027 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/1.418, allocations: 3.938 kB / 0.7333 GB, free: 3.023 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/1.418, allocations: 325.1 kB / 0.7336 GB, free: 18.7 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/1.418, allocations: 52.44 kB / 0.7337 GB, free: 18.67 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/1.418, allocations: 90.28 kB / 0.7338 GB, free: 18.58 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.964e-05/1.418, allocations: 61.58 kB / 0.7338 GB, free: 18.54 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.418, allocations: 0 / 0.7338 GB, free: 18.54 MB / 0.5109 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003399/1.418, allocations: 208.8 kB / 0.734 GB, free: 18.35 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/1.418, allocations: 4 kB / 0.734 GB, free: 18.34 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.418, allocations: 4 kB / 0.734 GB, free: 18.34 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002721/1.419, allocations: 59.86 kB / 0.7341 GB, free: 18.28 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/1.419, allocations: 43.55 kB / 0.7341 GB, free: 18.24 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009249/1.42, allocations: 1.394 MB / 0.7355 GB, free: 16.79 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/1.42, allocations: 7.844 kB / 0.7355 GB, free: 16.78 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.42, allocations: 11.06 kB / 0.7355 GB, free: 16.77 MB / 0.5109 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/1.42, allocations: 120.9 kB / 0.7356 GB, free: 16.64 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/1.42, allocations: 4 kB / 0.7356 GB, free: 16.64 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/1.42, allocations: 19.72 kB / 0.7356 GB, free: 16.63 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.42, allocations: 0 / 0.7356 GB, free: 16.63 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.42, allocations: 4 kB / 0.7356 GB, free: 16.63 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1.42, allocations: 0 / 0.7356 GB, free: 16.63 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/1.42, allocations: 181.8 kB / 0.7358 GB, free: 16.42 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/1.42, allocations: 2.188 kB / 0.7358 GB, free: 16.42 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/1.42, allocations: 27.86 kB / 0.7358 GB, free: 16.4 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/1.42, allocations: 64.55 kB / 0.7359 GB, free: 16.34 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.42, allocations: 7.984 kB / 0.7359 GB, free: 16.33 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008945/1.421, allocations: 1.398 MB / 0.7373 GB, free: 14.87 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.421, allocations: 4.062 kB / 0.7373 GB, free: 14.86 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003531/1.422, allocations: 250.2 kB / 0.7375 GB, free: 14.62 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004759/1.422, allocations: 0.6746 MB / 0.7382 GB, free: 13.98 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-05/1.422, allocations: 81.02 kB / 0.7383 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/1.422, allocations: 4.328 kB / 0.7383 GB, free: 13.88 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/1.422, allocations: 3.984 kB / 0.7383 GB, free: 13.87 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/1.422, allocations: 7.938 kB / 0.7383 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/1.422, allocations: 0 / 0.7383 GB, free: 13.86 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.468e-05/1.422, allocations: 90.39 kB / 0.7384 GB, free: 13.78 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007482/1.423, allocations: 24 kB / 0.7384 GB, free: 13.75 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.031e-05/1.423, allocations: 96.19 kB / 0.7385 GB, free: 13.65 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0003512/1.424, allocations: 239.8 kB / 0.7387 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.424, allocations: 0 / 0.7387 GB, free: 13.43 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/1.424, allocations: 176.7 kB / 0.7389 GB, free: 13.27 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/1.424, allocations: 8.859 kB / 0.7389 GB, free: 13.26 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/1.425, allocations: 0.63 MB / 0.7395 GB, free: 12.62 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/1.425, allocations: 0.7332 MB / 0.7402 GB, free: 11.86 MB / 0.5109 GB Notification: Performance of SimCode: time 2.31e-07/1.425, allocations: 0 / 0.7402 GB, free: 11.86 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat does not exist to compare? outputFormat=mat