Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",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.001026/0.001026, allocations: 180.8 kB / 8.128 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.034/1.034, 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.0008948/0.0008948, allocations: 99.34 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.5686/0.5686, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2935/0.8621, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.9629, allocations: 82.85 MB / 0.6092 GB, free: 3.465 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/1.371, allocations: 124.5 MB / 0.7308 GB, free: 5.285 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001076/1.371, allocations: 45.77 kB / 0.7308 GB, free: 5.27 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002576/1.373, allocations: 1.048 MB / 0.7318 GB, free: 4.516 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/1.373, allocations: 10.62 kB / 0.7318 GB, free: 4.508 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/1.373, allocations: 11.91 kB / 0.7319 GB, free: 4.496 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/1.374, allocations: 172.4 kB / 0.732 GB, free: 4.293 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/1.374, allocations: 3.984 kB / 0.732 GB, free: 4.289 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/1.374, allocations: 11.28 kB / 0.732 GB, free: 4.281 MB / 0.4953 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.108e-05/1.374, allocations: 28.58 kB / 0.7321 GB, free: 4.262 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.752e-05/1.374, allocations: 68.5 kB / 0.7321 GB, free: 4.207 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/1.374, allocations: 0 / 0.7321 GB, free: 4.207 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.374, allocations: 0 / 0.7321 GB, free: 4.207 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/1.374, allocations: 0 / 0.7321 GB, free: 4.207 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/1.374, allocations: 162.8 kB / 0.7323 GB, free: 4.027 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/1.374, allocations: 65.98 kB / 0.7323 GB, free: 3.973 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/1.374, allocations: 27.72 kB / 0.7324 GB, free: 3.949 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/1.374, allocations: 4 kB / 0.7324 GB, free: 3.945 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.087e-06/1.374, allocations: 33.94 kB / 0.7324 GB, free: 3.906 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/1.374, allocations: 0 / 0.7324 GB, free: 3.906 MB / 0.4953 GB Notification: Performance of matching and sorting (n=8): time 0.0001427/1.374, allocations: 90.48 kB / 0.7325 GB, free: 3.824 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.294e-05/1.374, allocations: 58.41 kB / 0.7326 GB, free: 3.758 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.338e-05/1.374, allocations: 92.42 kB / 0.7326 GB, free: 3.664 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/1.374, allocations: 25.7 kB / 0.7327 GB, free: 3.633 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.073e-05/1.374, allocations: 91.2 kB / 0.7328 GB, free: 3.543 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/1.374, allocations: 33.94 kB / 0.7328 GB, free: 3.516 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.374, allocations: 0 / 0.7328 GB, free: 3.516 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/1.375, allocations: 317 kB / 0.7331 GB, free: 19.2 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/1.375, allocations: 38.03 kB / 0.7331 GB, free: 19.18 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/1.375, allocations: 67.72 kB / 0.7332 GB, free: 19.11 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/1.375, allocations: 45.91 kB / 0.7332 GB, free: 19.08 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.375, allocations: 0 / 0.7332 GB, free: 19.08 MB / 0.5109 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001523/1.375, allocations: 143.7 kB / 0.7334 GB, free: 18.97 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/1.375, allocations: 8.125 kB / 0.7334 GB, free: 18.96 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.375, allocations: 0 / 0.7334 GB, free: 18.96 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/1.375, allocations: 4.562 kB / 0.7334 GB, free: 18.96 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.375, allocations: 30.84 kB / 0.7334 GB, free: 18.93 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/1.375, allocations: 4 kB / 0.7334 GB, free: 18.93 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/1.375, allocations: 12.69 kB / 0.7334 GB, free: 18.92 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/1.375, allocations: 4.562 kB / 0.7334 GB, free: 18.91 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/1.375, allocations: 105.4 kB / 0.7335 GB, free: 18.8 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/1.375, allocations: 11.84 kB / 0.7335 GB, free: 18.79 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/1.375, allocations: 14.89 kB / 0.7336 GB, free: 18.78 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/1.375, allocations: 0 / 0.7336 GB, free: 18.78 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.375, allocations: 0.5625 kB / 0.7336 GB, free: 18.78 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.375, allocations: 0.7969 kB / 0.7336 GB, free: 18.78 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.643e-05/1.375, allocations: 161.6 kB / 0.7337 GB, free: 18.6 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.375, allocations: 0 / 0.7337 GB, free: 18.6 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/1.376, allocations: 28.41 kB / 0.7337 GB, free: 18.58 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.376, allocations: 0 / 0.7337 GB, free: 18.58 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.376, allocations: 5.922 kB / 0.7337 GB, free: 18.57 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.376, allocations: 0 / 0.7337 GB, free: 18.57 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.376, allocations: 3.938 kB / 0.7337 GB, free: 18.57 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001402/1.376, allocations: 147.5 kB / 0.7339 GB, free: 18.44 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000228/1.376, allocations: 0.536 MB / 0.7344 GB, free: 17.92 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/1.376, allocations: 85.61 kB / 0.7345 GB, free: 17.82 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/1.376, allocations: 9.297 kB / 0.7345 GB, free: 17.81 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/1.376, allocations: 7.891 kB / 0.7345 GB, free: 17.81 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/1.376, allocations: 5.922 kB / 0.7345 GB, free: 17.8 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/1.376, allocations: 3.781 kB / 0.7345 GB, free: 17.8 MB / 0.5109 GB Notification: Performance of sort global known variables: time 2.662e-05/1.376, allocations: 88.19 kB / 0.7346 GB, free: 17.72 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0007258/1.377, allocations: 12.61 kB / 0.7346 GB, free: 17.71 MB / 0.5109 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.35e-05/1.377, allocations: 101.3 kB / 0.7347 GB, free: 17.6 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0001133/1.377, allocations: 83.55 kB / 0.7348 GB, free: 17.54 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/1.377, allocations: 256 / 0.7348 GB, free: 17.54 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 3.422e-05/1.377, allocations: 34.52 kB / 0.7348 GB, free: 17.52 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/1.377, allocations: 4.812 kB / 0.7348 GB, free: 17.52 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006016/1.378, allocations: 0.6019 MB / 0.7354 GB, free: 16.96 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/1.378, allocations: 0.722 MB / 0.7361 GB, free: 16.22 MB / 0.5109 GB Notification: Performance of SimCode: time 2.4e-07/1.378, allocations: 0 / 0.7361 GB, free: 16.22 MB / 0.5109 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat does not exist to compare? outputFormat=mat