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.001274/0.001274, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.301/1.301, allocations: 223.2 MB / 240.3 MB, free: 10.18 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.001055/0.001055, allocations: 101.9 kB / 291.5 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8884/0.8884, allocations: 120.5 MB / 463 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003415, allocations: 8 kB / 0.5434 GB, free: 42.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1959, allocations: 82.85 MB / 0.6243 GB, free: 9.145 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9048/1.101, allocations: 125.3 MB / 0.7467 GB, free: 8.562 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001595/1.101, allocations: 46.98 kB / 0.7468 GB, free: 8.543 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.004075/1.105, allocations: 1.261 MB / 0.748 GB, free: 7.391 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.635e-06/1.105, allocations: 0 / 0.748 GB, free: 7.391 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 9.198e-06/1.105, allocations: 0 / 0.748 GB, free: 7.391 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005867/1.106, allocations: 390.4 kB / 0.7484 GB, free: 6.969 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 9.463e-05/1.106, allocations: 8.031 kB / 0.7484 GB, free: 6.961 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/1.106, allocations: 38.39 kB / 0.7484 GB, free: 6.918 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/1.106, allocations: 4 kB / 0.7484 GB, free: 6.914 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/1.106, allocations: 190.9 kB / 0.7486 GB, free: 6.688 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.106, allocations: 7.938 kB / 0.7486 GB, free: 6.684 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/1.106, allocations: 11.59 kB / 0.7486 GB, free: 6.676 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/1.106, allocations: 81.89 kB / 0.7487 GB, free: 6.602 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.106, allocations: 0 / 0.7487 GB, free: 6.602 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/1.106, allocations: 15.83 kB / 0.7487 GB, free: 6.59 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.106, allocations: 0 / 0.7487 GB, free: 6.59 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/1.107, allocations: 43.7 kB / 0.7487 GB, free: 6.555 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/1.107, allocations: 205.2 kB / 0.7489 GB, free: 6.32 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/1.107, allocations: 133.1 kB / 0.7491 GB, free: 6.207 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/1.107, allocations: 0 / 0.7491 GB, free: 6.207 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/1.107, allocations: 34.56 kB / 0.7491 GB, free: 6.164 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/1.107, allocations: 4 kB / 0.7491 GB, free: 6.16 MB / 0.5107 GB Notification: Performance of matching and sorting (n=12): time 0.0007633/1.108, allocations: 322.8 kB / 0.7494 GB, free: 5.848 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.108, allocations: 51.41 kB / 0.7495 GB, free: 5.785 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/1.108, allocations: 96.61 kB / 0.7496 GB, free: 5.688 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/1.108, allocations: 29.14 kB / 0.7496 GB, free: 5.656 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/1.108, allocations: 88.14 kB / 0.7497 GB, free: 5.566 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/1.108, allocations: 55 kB / 0.7497 GB, free: 5.52 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.108, allocations: 3.938 kB / 0.7497 GB, free: 5.52 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/1.108, allocations: 322.8 kB / 0.75 GB, free: 5.199 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/1.108, allocations: 47.59 kB / 0.7501 GB, free: 5.164 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/1.109, allocations: 87.58 kB / 0.7502 GB, free: 5.078 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.109, allocations: 74.06 kB / 0.7502 GB, free: 5.023 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.109, allocations: 0 / 0.7502 GB, free: 5.023 MB / 0.5107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004021/1.109, allocations: 221 kB / 0.7504 GB, free: 4.836 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.109, allocations: 14.94 kB / 0.7505 GB, free: 4.824 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.109, allocations: 1.312 kB / 0.7505 GB, free: 4.824 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/1.11, allocations: 60.23 kB / 0.7505 GB, free: 4.77 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/1.11, allocations: 35.92 kB / 0.7506 GB, free: 4.734 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/1.111, allocations: 1.493 MB / 0.752 GB, free: 3.18 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/1.111, allocations: 11.88 kB / 0.752 GB, free: 3.172 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/1.112, allocations: 8 kB / 0.752 GB, free: 3.164 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 (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.0001576/1.112, allocations: 117.7 kB / 0.7521 GB, free: 3.043 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/1.112, allocations: 7.906 kB / 0.7521 GB, free: 3.035 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/1.112, allocations: 15.53 kB / 0.7522 GB, free: 3.023 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.112, allocations: 4 kB / 0.7522 GB, free: 3.02 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.112, allocations: 3.953 kB / 0.7522 GB, free: 3.016 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.112, allocations: 0 / 0.7522 GB, free: 3.016 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/1.112, allocations: 216.6 kB / 0.7524 GB, free: 2.77 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.112, allocations: 0 / 0.7524 GB, free: 2.77 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/1.112, allocations: 27.92 kB / 0.7524 GB, free: 2.742 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002995/1.113, allocations: 56.55 kB / 0.7525 GB, free: 2.688 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/1.113, allocations: 11.86 kB / 0.7525 GB, free: 2.68 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/1.114, allocations: 1.493 MB / 0.7539 GB, free: 1.129 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.114, allocations: 3.953 kB / 0.7539 GB, free: 1.125 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/1.115, allocations: 260.2 kB / 0.7542 GB, free: 0.8906 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/1.115, allocations: 77.11 kB / 0.7543 GB, free: 0.7969 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/1.115, allocations: 15.86 kB / 0.7543 GB, free: 0.7852 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/1.115, allocations: 4.062 kB / 0.7543 GB, free: 0.7812 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/1.115, allocations: 15.92 kB / 0.7543 GB, free: 0.7695 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/1.115, allocations: 0 / 0.7543 GB, free: 0.7695 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 4.163e-05/1.115, allocations: 79.28 kB / 0.7544 GB, free: 0.6914 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.31e-07/1.115, allocations: 0 / 0.7544 GB, free: 0.6914 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002789/1.115, allocations: 27.88 kB / 0.7544 GB, free: 0.668 MB / 0.5107 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 () * Number of clocked 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.0008813/1.116, allocations: 0.7992 MB / 0.7552 GB, free: 15.88 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0005244/1.117, allocations: 258.1 kB / 0.7554 GB, free: 15.64 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.117, allocations: 0 / 0.7554 GB, free: 15.64 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005312/1.117, allocations: 194.3 kB / 0.7556 GB, free: 15.46 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/1.117, allocations: 12.33 kB / 0.7556 GB, free: 15.45 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.12, allocations: 1.94 MB / 0.7575 GB, free: 13.53 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.12, allocations: 0.7082 MB / 0.7582 GB, free: 12.8 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 7.32e-05/1.12, allocations: 28.58 kB / 0.7582 GB, free: 12.77 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/1.12, allocations: 23.31 kB / 0.7582 GB, free: 12.76 MB / 0.5263 GB Notification: Performance of SimCode: time 2.6e-07/1.12, allocations: 0 / 0.7582 GB, free: 12.76 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/1.136, allocations: 2.516 MB / 0.7607 GB, free: 10.49 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/1.136, allocations: 254.8 kB / 0.7609 GB, free: 10.15 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.957, allocations: 0 / 0.7609 GB, free: 10.15 MB / 0.5263 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