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.001066/0.001066, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009529, allocations: 95.02 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7725/0.7725, allocations: 120.5 MB / 463 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 8 kB / 0.5434 GB, free: 42.33 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1784, allocations: 82.85 MB / 0.6243 GB, free: 9.137 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8458/1.024, allocations: 125.3 MB / 0.7467 GB, free: 8.84 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001297/1.024, allocations: 46.48 kB / 0.7467 GB, free: 8.82 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.003225/1.028, allocations: 1.017 MB / 0.7477 GB, free: 7.91 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.175e-06/1.028, allocations: 0 / 0.7477 GB, free: 7.91 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.028, allocations: 4 kB / 0.7477 GB, free: 7.906 MB / 0.5107 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.0003234/1.028, allocations: 355.4 kB / 0.7481 GB, free: 7.516 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 7.536e-05/1.028, allocations: 15.97 kB / 0.7481 GB, free: 7.5 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/1.028, allocations: 34.52 kB / 0.7481 GB, free: 7.457 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/1.028, allocations: 11.78 kB / 0.7481 GB, free: 7.449 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/1.028, allocations: 175.6 kB / 0.7483 GB, free: 7.238 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/1.028, allocations: 3.984 kB / 0.7483 GB, free: 7.234 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/1.028, allocations: 15.94 kB / 0.7483 GB, free: 7.223 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/1.029, allocations: 61.41 kB / 0.7484 GB, free: 7.164 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/1.029, allocations: 11.84 kB / 0.7484 GB, free: 7.152 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/1.029, allocations: 11.7 kB / 0.7484 GB, free: 7.145 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/1.029, allocations: 0 / 0.7484 GB, free: 7.145 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/1.029, allocations: 27.91 kB / 0.7484 GB, free: 7.121 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/1.029, allocations: 180.4 kB / 0.7486 GB, free: 6.906 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/1.029, allocations: 74.09 kB / 0.7487 GB, free: 6.84 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/1.029, allocations: 4 kB / 0.7487 GB, free: 6.836 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.029, allocations: 30.56 kB / 0.7487 GB, free: 6.797 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/1.029, allocations: 0 / 0.7487 GB, free: 6.797 MB / 0.5107 GB Notification: Performance of matching and sorting (n=8): time 0.0003705/1.029, allocations: 116.9 kB / 0.7488 GB, free: 6.691 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.03, allocations: 55.36 kB / 0.7489 GB, free: 6.625 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/1.03, allocations: 96.8 kB / 0.7489 GB, free: 6.527 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.03, allocations: 25.7 kB / 0.749 GB, free: 6.496 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/1.03, allocations: 87.95 kB / 0.7491 GB, free: 6.41 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/1.03, allocations: 39.33 kB / 0.7491 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/1.03, allocations: 3.938 kB / 0.7491 GB, free: 6.375 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/1.03, allocations: 314.8 kB / 0.7494 GB, free: 6.062 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/1.03, allocations: 35.66 kB / 0.7494 GB, free: 6.035 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/1.03, allocations: 71.77 kB / 0.7495 GB, free: 5.961 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.061e-05/1.03, allocations: 54.47 kB / 0.7496 GB, free: 5.922 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.03, allocations: 4 kB / 0.7496 GB, free: 5.918 MB / 0.5107 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000173/1.03, allocations: 144.7 kB / 0.7497 GB, free: 5.797 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.03, allocations: 10.81 kB / 0.7497 GB, free: 5.789 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.03, allocations: 0.5 kB / 0.7497 GB, free: 5.789 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/1.03, allocations: 0 / 0.7497 GB, free: 5.789 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/1.03, allocations: 35.92 kB / 0.7497 GB, free: 5.754 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.03, allocations: 8.125 kB / 0.7497 GB, free: 5.746 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/1.031, allocations: 16.55 kB / 0.7498 GB, free: 5.73 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/1.031, allocations: 7.75 kB / 0.7498 GB, free: 5.727 MB / 0.5107 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 () * Number of clocked 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 0.0001241/1.031, allocations: 121.1 kB / 0.7499 GB, free: 5.602 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/1.031, allocations: 0 / 0.7499 GB, free: 5.602 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/1.031, allocations: 15.72 kB / 0.7499 GB, free: 5.59 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/1.031, allocations: 0 / 0.7499 GB, free: 5.59 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.031, allocations: 0 / 0.7499 GB, free: 5.59 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.031, allocations: 0 / 0.7499 GB, free: 5.59 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/1.031, allocations: 197.2 kB / 0.7501 GB, free: 5.359 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.031, allocations: 0 / 0.7501 GB, free: 5.359 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/1.031, allocations: 27.98 kB / 0.7501 GB, free: 5.332 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.031, allocations: 0 / 0.7501 GB, free: 5.332 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/1.031, allocations: 4 kB / 0.7501 GB, free: 5.328 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.031, allocations: 0 / 0.7501 GB, free: 5.328 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.031, allocations: 0 / 0.7501 GB, free: 5.328 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.031, allocations: 156.3 kB / 0.7503 GB, free: 5.18 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/1.031, allocations: 93 kB / 0.7504 GB, free: 5.07 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/1.031, allocations: 4 kB / 0.7504 GB, free: 5.066 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/1.031, allocations: 3.875 kB / 0.7504 GB, free: 5.066 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/1.032, allocations: 7.984 kB / 0.7504 GB, free: 5.059 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/1.032, allocations: 0 / 0.7504 GB, free: 5.059 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 3.64e-05/1.032, allocations: 83.45 kB / 0.7505 GB, free: 4.977 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.032, allocations: 0 / 0.7505 GB, free: 4.977 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0001786/1.032, allocations: 15.81 kB / 0.7505 GB, free: 4.965 MB / 0.5107 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 () * Number of clocked 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.0003756/1.032, allocations: 0.689 MB / 0.7511 GB, free: 4.27 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0001826/1.032, allocations: 90.47 kB / 0.7512 GB, free: 4.199 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.032, allocations: 0 / 0.7512 GB, free: 4.199 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/1.032, allocations: 32.11 kB / 0.7513 GB, free: 4.176 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/1.033, allocations: 3.984 kB / 0.7513 GB, free: 4.172 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/1.034, allocations: 1.787 MB / 0.753 GB, free: 2.395 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/1.034, allocations: 0.7005 MB / 0.7537 GB, free: 1.668 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 6.129e-05/1.034, allocations: 28.62 kB / 0.7537 GB, free: 1.637 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/1.035, allocations: 19.12 kB / 0.7537 GB, free: 1.625 MB / 0.5107 GB Notification: Performance of SimCode: time 2.21e-07/1.035, allocations: 0 / 0.7537 GB, free: 1.625 MB / 0.5107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.048, allocations: 1.737 MB / 0.7554 GB, free: 100 kB / 0.5107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/1.048, allocations: 227.5 kB / 0.7556 GB, free: 15.85 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.784, allocations: 0 / 0.7556 GB, free: 15.85 MB / 0.5263 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