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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.602/1.602, allocations: 221.5 MB / 230.3 MB, free: 7.496 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.001309/0.001309, allocations: 93.94 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.683/1.683, allocations: 120.5 MB / 452.4 MB, free: 10.48 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.478e-05, allocations: 4 kB / 0.5289 GB, free: 1.191 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8004, allocations: 82.83 MB / 0.6098 GB, free: 12.94 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.991, allocations: 124.6 MB / 0.7314 GB, free: 248 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.9914, allocations: 51.98 kB / 0.7315 GB, free: 196 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.003294/0.9947, allocations: 1.016 MB / 0.7325 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.083e-06/0.9947, allocations: 0 / 0.7325 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.9947, allocations: 4 kB / 0.7325 GB, free: 15.17 MB / 0.5419 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.000402/0.9951, allocations: 350.5 kB / 0.7328 GB, free: 14.78 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.9952, allocations: 12.03 kB / 0.7328 GB, free: 14.77 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.9953, allocations: 11.86 kB / 0.7328 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.9955, allocations: 171.1 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.9955, allocations: 4 kB / 0.733 GB, free: 14.55 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.9955, allocations: 4 kB / 0.733 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001061/0.9957, allocations: 31.98 kB / 0.733 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.9958, allocations: 61.59 kB / 0.7331 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9958, allocations: 0 / 0.7331 GB, free: 14.45 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.9958, allocations: 7.953 kB / 0.7331 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9958, allocations: 0 / 0.7331 GB, free: 14.44 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.996, allocations: 158.1 kB / 0.7332 GB, free: 14.25 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.9962, allocations: 74.55 kB / 0.7333 GB, free: 14.16 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.9962, allocations: 24.86 kB / 0.7333 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.9962, allocations: 0 / 0.7333 GB, free: 14.14 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.9963, allocations: 34.56 kB / 0.7334 GB, free: 14.09 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.9963, allocations: 0 / 0.7334 GB, free: 14.09 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002076/0.9965, allocations: 90.14 kB / 0.7335 GB, free: 14 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.9965, allocations: 59.34 kB / 0.7335 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.9966, allocations: 92.98 kB / 0.7336 GB, free: 13.83 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.9967, allocations: 33.7 kB / 0.7336 GB, free: 13.79 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.9968, allocations: 80.14 kB / 0.7337 GB, free: 13.71 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.9968, allocations: 39.45 kB / 0.7337 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.9968, allocations: 0 / 0.7337 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.997, allocations: 322.8 kB / 0.7341 GB, free: 13.34 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.9971, allocations: 31.98 kB / 0.7341 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.9972, allocations: 69.83 kB / 0.7342 GB, free: 13.23 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.9973, allocations: 43.97 kB / 0.7342 GB, free: 13.19 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9973, allocations: 0 / 0.7342 GB, free: 13.19 MB / 0.5419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000199/0.9975, allocations: 129.5 kB / 0.7343 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9975, allocations: 8 kB / 0.7343 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9975, allocations: 80 / 0.7343 GB, free: 13.05 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.9975, allocations: 8.125 kB / 0.7343 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.9977, allocations: 32.17 kB / 0.7344 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9977, allocations: 7.984 kB / 0.7344 GB, free: 13 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.9978, allocations: 15.86 kB / 0.7344 GB, free: 12.98 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.9978, allocations: 4 kB / 0.7344 GB, free: 12.98 MB / 0.5419 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 8.748e-05/0.9979, allocations: 104.9 kB / 0.7345 GB, free: 12.87 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001246/0.998, allocations: 85.95 kB / 0.7346 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.9981, allocations: 7.984 kB / 0.7346 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.9981, allocations: 8.406 kB / 0.7346 GB, free: 12.77 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9981, allocations: 4 kB / 0.7346 GB, free: 12.76 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9981, allocations: 3.938 kB / 0.7346 GB, free: 12.76 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9981, allocations: 0 / 0.7346 GB, free: 12.76 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.9983, allocations: 162.2 kB / 0.7347 GB, free: 12.56 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.9983, allocations: 3.984 kB / 0.7348 GB, free: 12.56 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.9985, allocations: 27.98 kB / 0.7348 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9985, allocations: 0 / 0.7348 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.9985, allocations: 4 kB / 0.7348 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.9985, allocations: 0 / 0.7348 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9985, allocations: 0 / 0.7348 GB, free: 12.53 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.9988, allocations: 153.2 kB / 0.7349 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.533e-05/0.9988, allocations: 85.05 kB / 0.735 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.9988, allocations: 4 kB / 0.735 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.9989, allocations: 3.984 kB / 0.735 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.9989, allocations: 4 kB / 0.735 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.9989, allocations: 3.938 kB / 0.735 GB, free: 12.24 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.999, allocations: 79.28 kB / 0.7351 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.999, allocations: 0 / 0.7351 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000224/0.9992, allocations: 19.98 kB / 0.7351 GB, free: 12.14 MB / 0.5419 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 0.0004619/0.9997, allocations: 0.679 MB / 0.7358 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.9998, allocations: 75.91 kB / 0.7359 GB, free: 11.36 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9999, allocations: 0 / 0.7359 GB, free: 11.36 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.391e-05/0.9999, allocations: 36.19 kB / 0.7359 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/1, allocations: 4 kB / 0.7359 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.001, allocations: 0.6552 MB / 0.7365 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.002, allocations: 0.704 MB / 0.7372 GB, free: 9.898 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.208e-05/1.002, allocations: 24.64 kB / 0.7372 GB, free: 9.875 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/1.002, allocations: 27.42 kB / 0.7373 GB, free: 9.848 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/1.002, allocations: 0 / 0.7373 GB, free: 9.848 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/1.023, allocations: 1.367 MB / 0.7386 GB, free: 8.508 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/1.023, allocations: 187.7 kB / 0.7388 GB, free: 8.312 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/2.848, allocations: 3.938 kB / 0.7388 GB, free: 8.309 MB / 0.5419 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