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.001435/0.001435, allocations: 179.3 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.422/1.422, 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.001043/0.001043, allocations: 97.12 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9885/0.9885, allocations: 120.5 MB / 463 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8 kB / 0.5434 GB, free: 42.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 82.86 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7949/0.9748, allocations: 125.4 MB / 0.7468 GB, free: 8.332 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.9751, allocations: 58.69 kB / 0.7468 GB, free: 8.305 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02829/1.003, allocations: 8.526 MB / 0.7551 GB, free: 0.5273 MB / 0.5107 GB Notification: Performance of FrontEnd: time 3.386e-06/1.004, allocations: 0 / 0.7551 GB, free: 0.5273 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.004, allocations: 12 kB / 0.7551 GB, free: 0.5156 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001976/1.006, allocations: 0.987 MB / 0.7561 GB, free: 15.5 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.006, allocations: 12.02 kB / 0.7561 GB, free: 15.49 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/1.006, allocations: 97.73 kB / 0.7562 GB, free: 15.41 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/1.006, allocations: 47.53 kB / 0.7563 GB, free: 15.37 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/1.007, allocations: 315.2 kB / 0.7566 GB, free: 15.02 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/1.007, allocations: 59.8 kB / 0.7566 GB, free: 14.99 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/1.007, allocations: 114.5 kB / 0.7567 GB, free: 14.91 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/1.008, allocations: 0.6289 MB / 0.7573 GB, free: 14.41 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/1.008, allocations: 19.81 kB / 0.7574 GB, free: 14.39 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/1.008, allocations: 27.38 kB / 0.7574 GB, free: 14.38 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.008, allocations: 8 kB / 0.7574 GB, free: 14.38 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/1.009, allocations: 432.2 kB / 0.7578 GB, free: 14.03 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/1.01, allocations: 0.8112 MB / 0.7586 GB, free: 13.33 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.012, allocations: 0.9411 MB / 0.7595 GB, free: 12.63 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/1.012, allocations: 13 kB / 0.7595 GB, free: 12.62 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.012, allocations: 42.94 kB / 0.7596 GB, free: 12.58 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=120): time 2.074e-06/1.012, allocations: 0 / 0.7596 GB, free: 12.58 MB / 0.5263 GB Notification: Performance of matching and sorting (n=120): time 0.01165/1.023, allocations: 3.278 MB / 0.7628 GB, free: 9.633 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/1.023, allocations: 64.41 kB / 0.7628 GB, free: 9.555 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/1.024, allocations: 124.6 kB / 0.763 GB, free: 9.438 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/1.024, allocations: 55.95 kB / 0.763 GB, free: 9.402 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/1.024, allocations: 97.91 kB / 0.7631 GB, free: 9.309 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.000353/1.024, allocations: 486.5 kB / 0.7636 GB, free: 8.898 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/1.024, allocations: 34.5 kB / 0.7636 GB, free: 8.891 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.024, allocations: 373.3 kB / 0.764 GB, free: 8.543 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/1.025, allocations: 0.5085 MB / 0.7644 GB, free: 8.152 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/1.026, allocations: 0.8278 MB / 0.7653 GB, free: 7.348 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.027, allocations: 0.6463 MB / 0.7659 GB, free: 6.887 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.027, allocations: 3.938 kB / 0.7659 GB, free: 6.883 MB / 0.5263 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004002/1.031, allocations: 2.063 MB / 0.7679 GB, free: 5.219 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/1.031, allocations: 8 kB / 0.7679 GB, free: 5.211 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.031, allocations: 14.38 kB / 0.7679 GB, free: 5.199 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/1.034, allocations: 0.6278 MB / 0.7685 GB, free: 4.617 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.035, allocations: 327.2 kB / 0.7689 GB, free: 4.309 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008096/1.043, allocations: 4.88 MB / 0.7736 GB, free: 160 kB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/1.044, allocations: 130 kB / 0.7737 GB, free: 56 kB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/1.044, allocations: 59.69 kB / 0.7738 GB, free: 8 kB / 0.5263 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 () * Number of clocked 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.000389/1.044, allocations: 241.3 kB / 0.774 GB, free: 15.8 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/1.044, allocations: 43.48 kB / 0.7741 GB, free: 15.76 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/1.045, allocations: 119.9 kB / 0.7742 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.045, allocations: 12.19 kB / 0.7742 GB, free: 15.74 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-05/1.045, allocations: 4 kB / 0.7742 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.045, allocations: 15.95 kB / 0.7742 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/1.046, allocations: 0.7762 MB / 0.775 GB, free: 15.03 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.046, allocations: 4.5 kB / 0.775 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.047, allocations: 259.6 kB / 0.7752 GB, free: 14.78 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/1.05, allocations: 0.6233 MB / 0.7758 GB, free: 14.2 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.05, allocations: 55.44 kB / 0.7759 GB, free: 14.16 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007766/1.058, allocations: 4.867 MB / 0.7806 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.058, allocations: 0 / 0.7806 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004582/1.063, allocations: 2.398 MB / 0.783 GB, free: 8.051 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.063, allocations: 136.3 kB / 0.7831 GB, free: 7.898 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.063, allocations: 51.58 kB / 0.7832 GB, free: 7.863 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/1.063, allocations: 39.03 kB / 0.7832 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/1.063, allocations: 88.44 kB / 0.7833 GB, free: 7.766 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003626/1.064, allocations: 31.67 kB / 0.7833 GB, free: 7.742 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.149e-05/1.064, allocations: 79.28 kB / 0.7834 GB, free: 7.664 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 0 / 0.7834 GB, free: 7.664 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008646/1.065, allocations: 286.5 kB / 0.7837 GB, free: 7.434 MB / 0.5419 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 () * Number of clocked 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.004845/1.07, allocations: 3.013 MB / 0.7866 GB, free: 4.844 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.003596/1.073, allocations: 1.682 MB / 0.7882 GB, free: 3.441 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.073, allocations: 256 / 0.7882 GB, free: 3.441 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.002204/1.075, allocations: 1.018 MB / 0.7892 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/1.076, allocations: 19.56 kB / 0.7893 GB, free: 2.57 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.094, allocations: 17.24 MB / 0.8061 GB, free: 2.031 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/1.095, allocations: 0.944 MB / 0.807 GB, free: 1.062 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.0006522/1.095, allocations: 305.4 kB / 0.8073 GB, free: 0.7617 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/1.096, allocations: 175.2 kB / 0.8075 GB, free: 0.707 MB / 0.5575 GB Notification: Performance of SimCode: time 1.563e-06/1.096, allocations: 0 / 0.8075 GB, free: 0.707 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/1.136, allocations: 17.37 MB / 0.8244 GB, free: 15.59 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/1.137, allocations: 256.4 kB / 0.8247 GB, free: 15.25 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.823, allocations: 0 / 0.8247 GB, free: 15.25 MB / 0.5888 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