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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 176.2 kB / 8.348 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.618/1.618, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.001127/0.001127, allocations: 91.72 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.359/1.359, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.709e-05, allocations: 0 / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9/0.9, allocations: 82.83 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/1.087, allocations: 124.6 MB / 0.7315 GB, free: 232 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/1.087, allocations: 43.98 kB / 0.7315 GB, free: 188 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.004022/1.091, allocations: 1.266 MB / 0.7327 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.034e-06/1.091, allocations: 0 / 0.7327 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.091, allocations: 4 kB / 0.7327 GB, free: 14.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004797/1.092, allocations: 370.5 kB / 0.7331 GB, free: 14.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/1.092, allocations: 12.03 kB / 0.7331 GB, free: 14.49 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/1.092, allocations: 11.86 kB / 0.7331 GB, free: 14.48 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/1.092, allocations: 179 kB / 0.7333 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/1.092, allocations: 0 / 0.7333 GB, free: 14.27 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/1.092, allocations: 8 kB / 0.7333 GB, free: 14.26 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001333/1.092, allocations: 47.84 kB / 0.7333 GB, free: 14.21 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.092, allocations: 77.64 kB / 0.7334 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.092, allocations: 7.906 kB / 0.7334 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.092, allocations: 3.953 kB / 0.7334 GB, free: 14.12 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/1.092, allocations: 4 kB / 0.7334 GB, free: 14.11 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/1.093, allocations: 174.2 kB / 0.7336 GB, free: 13.91 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/1.093, allocations: 126.5 kB / 0.7337 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/1.093, allocations: 44.84 kB / 0.7338 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/1.093, allocations: 0 / 0.7338 GB, free: 13.73 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.093, allocations: 30.56 kB / 0.7338 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/1.093, allocations: 0 / 0.7338 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.0004662/1.094, allocations: 174.9 kB / 0.734 GB, free: 13.5 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/1.094, allocations: 55.41 kB / 0.734 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/1.094, allocations: 101 kB / 0.7341 GB, free: 13.33 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/1.094, allocations: 25.7 kB / 0.7341 GB, free: 13.3 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/1.094, allocations: 80.14 kB / 0.7342 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/1.094, allocations: 47.3 kB / 0.7342 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/1.094, allocations: 4 kB / 0.7343 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.094, allocations: 326.8 kB / 0.7346 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/1.094, allocations: 43.98 kB / 0.7346 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/1.094, allocations: 76.27 kB / 0.7347 GB, free: 12.71 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/1.094, allocations: 64 kB / 0.7347 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.094, allocations: 0 / 0.7347 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004163/1.095, allocations: 226 kB / 0.735 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.095, allocations: 4 kB / 0.735 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.095, allocations: 4 kB / 0.735 GB, free: 12.41 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/1.095, allocations: 60.92 kB / 0.735 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/1.095, allocations: 35.92 kB / 0.7351 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/1.097, allocations: 1.412 MB / 0.7364 GB, free: 10.78 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/1.097, allocations: 11.95 kB / 0.7364 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/1.097, allocations: 4 kB / 0.7364 GB, free: 10.77 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 (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 0.0001455/1.097, allocations: 116.9 kB / 0.7366 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00036/1.097, allocations: 162.6 kB / 0.7367 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/1.097, allocations: 11.84 kB / 0.7367 GB, free: 10.46 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/1.097, allocations: 20.41 kB / 0.7367 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.097, allocations: 0 / 0.7367 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/1.097, allocations: 0 / 0.7367 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.097, allocations: 0 / 0.7367 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/1.098, allocations: 174.1 kB / 0.7369 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.098, allocations: 4 kB / 0.7369 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.098, allocations: 27.98 kB / 0.7369 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/1.098, allocations: 61.12 kB / 0.737 GB, free: 10.14 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.098, allocations: 7.938 kB / 0.737 GB, free: 10.13 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.099, allocations: 1.409 MB / 0.7384 GB, free: 8.605 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.099, allocations: 4.062 kB / 0.7384 GB, free: 8.602 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/1.1, allocations: 253.9 kB / 0.7386 GB, free: 8.332 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/1.1, allocations: 85.05 kB / 0.7387 GB, free: 8.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/1.1, allocations: 7.984 kB / 0.7387 GB, free: 8.223 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/1.1, allocations: 0 / 0.7387 GB, free: 8.223 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/1.1, allocations: 11.98 kB / 0.7387 GB, free: 8.211 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/1.1, allocations: 4 kB / 0.7387 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.231e-05/1.1, allocations: 79.28 kB / 0.7388 GB, free: 8.129 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.1, allocations: 0 / 0.7388 GB, free: 8.129 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002516/1.1, allocations: 28 kB / 0.7388 GB, free: 8.102 MB / 0.5419 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 0.0007315/1.101, allocations: 0.7774 MB / 0.7396 GB, free: 7.293 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004695/1.101, allocations: 238 kB / 0.7398 GB, free: 7.051 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.101, allocations: 0 / 0.7398 GB, free: 7.051 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/1.102, allocations: 181.9 kB / 0.74 GB, free: 6.863 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/1.102, allocations: 10.58 kB / 0.74 GB, free: 6.855 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.103, allocations: 0.691 MB / 0.7407 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/1.103, allocations: 0.7118 MB / 0.7414 GB, free: 5.387 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 6.613e-05/1.103, allocations: 28.52 kB / 0.7414 GB, free: 5.359 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/1.103, allocations: 19.44 kB / 0.7414 GB, free: 5.34 MB / 0.5419 GB Notification: Performance of SimCode: time 2.8e-07/1.103, allocations: 7.938 kB / 0.7414 GB, free: 5.332 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/1.128, allocations: 2.066 MB / 0.7434 GB, free: 3.293 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/1.128, allocations: 191.7 kB / 0.7436 GB, free: 3.102 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.915, allocations: 6.438 kB / 0.7436 GB, free: 3.098 MB / 0.5419 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