Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",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.001142/0.001142, allocations: 175.6 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.62/1.62, allocations: 221.3 MB / 235.5 MB, free: 2.883 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.001243/0.001243, allocations: 91.84 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.35/1.35, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.919e-05/4.922e-05, allocations: 4 kB / 0.5358 GB, free: 12.1 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8088, allocations: 82.83 MB / 0.6167 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.9782, allocations: 125.3 MB / 0.7391 GB, free: 11.91 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.9785, allocations: 63.91 kB / 0.7391 GB, free: 11.84 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02709/1.006, allocations: 8.566 MB / 0.7475 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.464e-06/1.006, allocations: 3.938 kB / 0.7475 GB, free: 3.258 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.045e-05/1.006, allocations: 8 kB / 0.7475 GB, free: 3.25 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002348/1.008, allocations: 0.991 MB / 0.7485 GB, free: 2.215 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.008, allocations: 11.97 kB / 0.7485 GB, free: 2.203 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/1.008, allocations: 90.52 kB / 0.7486 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/1.008, allocations: 51.48 kB / 0.7486 GB, free: 2.055 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/1.009, allocations: 311.3 kB / 0.7489 GB, free: 1.711 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/1.009, allocations: 61 kB / 0.749 GB, free: 1.652 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.009, allocations: 111.7 kB / 0.7491 GB, free: 1.543 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/1.01, allocations: 0.6154 MB / 0.7497 GB, free: 0.9219 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.511e-05/1.01, allocations: 19.8 kB / 0.7497 GB, free: 0.9023 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/1.011, allocations: 24 kB / 0.7497 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/1.011, allocations: 15.94 kB / 0.7497 GB, free: 0.8633 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/1.011, allocations: 423.8 kB / 0.7501 GB, free: 460 kB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8477/1.859, allocations: 0.8016 MB / 0.7509 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/1.861, allocations: 0.9175 MB / 0.7518 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008603/1.862, allocations: 471.7 kB / 0.7523 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 7.887e-05/1.862, allocations: 13.14 kB / 0.7523 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/1.862, allocations: 43.94 kB / 0.7523 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=120): time 5.38e-06/1.862, allocations: 0.8125 kB / 0.7523 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=120): time 0.004431/1.867, allocations: 1.499 MB / 0.7538 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/1.867, allocations: 64.72 kB / 0.7538 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.867, allocations: 121 kB / 0.754 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/1.867, allocations: 59.98 kB / 0.754 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/1.867, allocations: 96.75 kB / 0.7541 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/1.867, allocations: 491.5 kB / 0.7546 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/1.867, allocations: 34.25 kB / 0.7546 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.868, allocations: 373.6 kB / 0.755 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.869, allocations: 0.4941 MB / 0.7555 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/1.87, allocations: 0.8159 MB / 0.7562 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.871, allocations: 0.6353 MB / 0.7569 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/1.871, allocations: 7.094 kB / 0.7569 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005129/1.877, allocations: 2.03 MB / 0.7589 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/1.877, allocations: 8.188 kB / 0.7589 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/1.877, allocations: 14.39 kB / 0.7589 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.879, allocations: 0.6232 MB / 0.7595 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.88, allocations: 327.5 kB / 0.7598 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/1.887, allocations: 4.68 MB / 0.7644 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/1.888, allocations: 127 kB / 0.7645 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/1.888, allocations: 57.66 kB / 0.7645 GB, free: 124.8 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002171/1.888, allocations: 191 kB / 0.7647 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/1.888, allocations: 37.78 kB / 0.7648 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/1.888, allocations: 121.1 kB / 0.7649 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.888, allocations: 11 kB / 0.7649 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-05/1.888, allocations: 15.06 kB / 0.7649 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.888, allocations: 7.406 kB / 0.7649 GB, free: 124.5 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/1.889, allocations: 0.774 MB / 0.7657 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.889, allocations: 0 / 0.7657 GB, free: 124.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/1.891, allocations: 271.9 kB / 0.7659 GB, free: 124.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/1.893, allocations: 0.6095 MB / 0.7665 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-05/1.893, allocations: 57.02 kB / 0.7666 GB, free: 123.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006698/1.9, allocations: 4.663 MB / 0.7711 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.9, allocations: 4.062 kB / 0.7711 GB, free: 119.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003957/1.904, allocations: 2.375 MB / 0.7735 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/1.904, allocations: 128.3 kB / 0.7736 GB, free: 117.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.904, allocations: 59.91 kB / 0.7736 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/1.904, allocations: 31.97 kB / 0.7737 GB, free: 117.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/1.904, allocations: 96.8 kB / 0.7738 GB, free: 117.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/1.905, allocations: 31.98 kB / 0.7738 GB, free: 117.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.75e-05/1.905, allocations: 83.28 kB / 0.7739 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.81e-07/1.905, allocations: 3.938 kB / 0.7739 GB, free: 117.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008057/1.905, allocations: 288 kB / 0.7741 GB, free: 117 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00454/1.91, allocations: 2.98 MB / 0.7771 GB, free: 114 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003274/1.913, allocations: 1.642 MB / 0.7787 GB, free: 112.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.913, allocations: 7.938 kB / 0.7787 GB, free: 112.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/1.915, allocations: 0.9935 MB / 0.7796 GB, free: 111.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/1.916, allocations: 28.8 kB / 0.7797 GB, free: 111.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007873/1.923, allocations: 7.09 MB / 0.7866 GB, free: 104.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/1.924, allocations: 0.9603 MB / 0.7875 GB, free: 103.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006387/1.925, allocations: 293.4 kB / 0.7878 GB, free: 102.9 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/1.925, allocations: 179.4 kB / 0.788 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of SimCode: time 4.21e-07/1.925, allocations: 0 / 0.788 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/1.966, allocations: 17.25 MB / 0.8048 GB, free: 85.69 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/1.966, allocations: 231 kB / 0.805 GB, free: 85.45 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/4.693, allocations: 4 kB / 0.805 GB, free: 85.45 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat does not exist to compare? outputFormat=mat