Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",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.001504/0.001504, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.717/1.717, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.00133/0.00133, allocations: 82.42 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.526/1.526, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 3.984 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8568, allocations: 82.84 MB / 0.6167 GB, free: 9.223 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/1.063, allocations: 125.3 MB / 0.7391 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.063, allocations: 59.92 kB / 0.7391 GB, free: 11.73 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008271/1.071, allocations: 2.453 MB / 0.7415 GB, free: 9.277 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.775e-06/1.071, allocations: 4 kB / 0.7415 GB, free: 9.273 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.999e-05/1.071, allocations: 4 kB / 0.7415 GB, free: 9.27 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008623/1.072, allocations: 478.2 kB / 0.742 GB, free: 8.758 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 7.995e-05/1.072, allocations: 12.03 kB / 0.742 GB, free: 8.746 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.884e-05/1.072, allocations: 50.5 kB / 0.742 GB, free: 8.688 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/1.072, allocations: 11.91 kB / 0.7421 GB, free: 8.676 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/1.073, allocations: 206.8 kB / 0.7422 GB, free: 8.434 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/1.073, allocations: 8 kB / 0.7423 GB, free: 8.426 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-05/1.073, allocations: 28 kB / 0.7423 GB, free: 8.398 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/1.073, allocations: 173.6 kB / 0.7424 GB, free: 8.223 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/1.073, allocations: 7.906 kB / 0.7425 GB, free: 8.215 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/1.073, allocations: 11.95 kB / 0.7425 GB, free: 8.203 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/1.073, allocations: 4 kB / 0.7425 GB, free: 8.199 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/1.074, allocations: 103.9 kB / 0.7426 GB, free: 8.098 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/1.074, allocations: 313.4 kB / 0.7429 GB, free: 7.742 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/1.075, allocations: 262.4 kB / 0.7431 GB, free: 7.477 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/1.075, allocations: 117.6 kB / 0.7432 GB, free: 7.359 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/1.075, allocations: 0 / 0.7432 GB, free: 7.359 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.075, allocations: 42.56 kB / 0.7433 GB, free: 7.309 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 3.356e-06/1.075, allocations: 0 / 0.7433 GB, free: 7.309 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.001094/1.076, allocations: 415.5 kB / 0.7437 GB, free: 6.891 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/1.076, allocations: 55.41 kB / 0.7437 GB, free: 6.824 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/1.076, allocations: 101 kB / 0.7438 GB, free: 6.719 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/1.076, allocations: 33.64 kB / 0.7439 GB, free: 6.68 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/1.077, allocations: 88.92 kB / 0.7439 GB, free: 6.586 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/1.077, allocations: 130.1 kB / 0.7441 GB, free: 6.457 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/1.077, allocations: 4 kB / 0.7441 GB, free: 6.453 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.077, allocations: 326.8 kB / 0.7444 GB, free: 6.125 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/1.077, allocations: 132.8 kB / 0.7445 GB, free: 5.996 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/1.077, allocations: 205.8 kB / 0.7447 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/1.078, allocations: 159.8 kB / 0.7448 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.078, allocations: 0 / 0.7448 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001189/1.079, allocations: 0.5333 MB / 0.7454 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.079, allocations: 5.719 kB / 0.7454 GB, free: 5.059 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.079, allocations: 4 kB / 0.7454 GB, free: 5.055 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007624/1.08, allocations: 156.7 kB / 0.7455 GB, free: 4.898 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/1.08, allocations: 79.91 kB / 0.7456 GB, free: 4.82 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/1.083, allocations: 1.995 MB / 0.7476 GB, free: 2.691 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/1.083, allocations: 31.75 kB / 0.7476 GB, free: 2.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/1.083, allocations: 16.28 kB / 0.7476 GB, free: 2.645 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.083, allocations: 128.9 kB / 0.7477 GB, free: 2.512 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/1.083, allocations: 15.81 kB / 0.7477 GB, free: 2.496 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/1.083, allocations: 37.28 kB / 0.7478 GB, free: 2.457 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.084, allocations: 4 kB / 0.7478 GB, free: 2.453 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.084, allocations: 0 / 0.7478 GB, free: 2.453 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.084, allocations: 0 / 0.7478 GB, free: 2.453 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/1.084, allocations: 309.4 kB / 0.7481 GB, free: 2.102 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/1.084, allocations: 3.953 kB / 0.7481 GB, free: 2.098 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/1.084, allocations: 67.91 kB / 0.7481 GB, free: 2.031 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006177/1.085, allocations: 152.7 kB / 0.7483 GB, free: 1.879 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/1.085, allocations: 11.98 kB / 0.7483 GB, free: 1.867 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9165/2.002, allocations: 1.989 MB / 0.7502 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.002, allocations: 0.6094 kB / 0.7502 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/2.003, allocations: 0.5872 MB / 0.7508 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/2.003, allocations: 90.98 kB / 0.7509 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/2.003, allocations: 17.33 kB / 0.7509 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/2.004, allocations: 9.203 kB / 0.7509 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/2.004, allocations: 22.25 kB / 0.7509 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/2.004, allocations: 13.09 kB / 0.751 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.799e-05/2.004, allocations: 82.98 kB / 0.751 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.41e-07/2.004, allocations: 0.9375 kB / 0.751 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004518/2.004, allocations: 72.06 kB / 0.7511 GB, free: 132.1 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/2.006, allocations: 1.134 MB / 0.7522 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001257/2.007, allocations: 487.8 kB / 0.7527 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.007, allocations: 0.7812 kB / 0.7527 GB, free: 131.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/2.008, allocations: 330.7 kB / 0.753 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/2.008, allocations: 13.84 kB / 0.753 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/2.01, allocations: 1.685 MB / 0.7547 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/2.011, allocations: 0.7491 MB / 0.7554 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001927/2.011, allocations: 69.17 kB / 0.7555 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/2.011, allocations: 44.5 kB / 0.7555 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of SimCode: time 1.162e-06/2.011, allocations: 0.75 kB / 0.7555 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/2.032, allocations: 4.777 MB / 0.7602 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/2.032, allocations: 225.4 kB / 0.7604 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/4.02, allocations: 3.203 kB / 0.7604 GB, free: 128.6 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat does not exist to compare? outputFormat=mat