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.00241/0.00241, allocations: 175.9 kB / 8.348 MB, free: 0.7227 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.895/1.895, allocations: 221.5 MB / 230.3 MB, free: 7.566 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.001287/0.001286, allocations: 93.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.612/1.612, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.241e-05, allocations: 4 kB / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7903, allocations: 82.84 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/1.017, allocations: 124.6 MB / 0.7315 GB, free: 196 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.017, allocations: 63.92 kB / 0.7315 GB, free: 132 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.02862/1.046, allocations: 8.514 MB / 0.7399 GB, free: 7.598 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.725e-06/1.046, allocations: 0 / 0.7399 GB, free: 7.598 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.87e-05/1.046, allocations: 16 kB / 0.7399 GB, free: 7.582 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.002516/1.048, allocations: 0.9834 MB / 0.7408 GB, free: 6.555 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 7.961e-05/1.048, allocations: 12.03 kB / 0.7408 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/1.049, allocations: 51.48 kB / 0.7409 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/1.049, allocations: 315.3 kB / 0.7412 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/1.049, allocations: 16 kB / 0.7412 GB, free: 6.129 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/1.05, allocations: 87.7 kB / 0.7413 GB, free: 6.043 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007847/1.05, allocations: 398.4 kB / 0.7417 GB, free: 5.652 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.051, allocations: 0.5582 MB / 0.7422 GB, free: 5.09 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/1.052, allocations: 19.81 kB / 0.7422 GB, free: 5.07 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/1.052, allocations: 7.891 kB / 0.7422 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/1.052, allocations: 12 kB / 0.7423 GB, free: 5.051 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.053, allocations: 0.7001 MB / 0.7429 GB, free: 4.312 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.054, allocations: 0.8504 MB / 0.7438 GB, free: 3.449 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006534/1.055, allocations: 432.6 kB / 0.7442 GB, free: 3.023 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/1.055, allocations: 13.31 kB / 0.7442 GB, free: 3.012 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/1.055, allocations: 43.88 kB / 0.7442 GB, free: 2.961 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=120): time 2.074e-06/1.055, allocations: 0 / 0.7442 GB, free: 2.961 MB / 0.5419 GB Notification: Performance of matching and sorting (n=120): time 0.003547/1.058, allocations: 1.437 MB / 0.7456 GB, free: 1.512 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/1.059, allocations: 60.72 kB / 0.7457 GB, free: 1.441 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/1.059, allocations: 124.9 kB / 0.7458 GB, free: 1.312 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/1.059, allocations: 29.7 kB / 0.7459 GB, free: 1.277 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/1.059, allocations: 90.66 kB / 0.7459 GB, free: 1.184 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/1.059, allocations: 484.8 kB / 0.7464 GB, free: 0.7031 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/1.059, allocations: 0 / 0.7464 GB, free: 0.7031 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0002645/1.06, allocations: 374.8 kB / 0.7468 GB, free: 336 kB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8686/1.928, allocations: 464.5 kB / 0.7472 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/1.93, allocations: 0.7805 MB / 0.748 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.931, allocations: 0.6048 MB / 0.7486 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/1.931, allocations: 2.625 kB / 0.7486 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004889/1.936, allocations: 1.878 MB / 0.7504 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/1.936, allocations: 8.641 kB / 0.7504 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/1.936, allocations: 9.844 kB / 0.7504 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/1.939, allocations: 0.6145 MB / 0.751 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.941, allocations: 331.9 kB / 0.7513 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00824/1.949, allocations: 4.41 MB / 0.7556 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/1.95, allocations: 98.69 kB / 0.7557 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.95, allocations: 55.88 kB / 0.7558 GB, free: 130.4 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.0002587/1.95, allocations: 137.8 kB / 0.7559 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002887/1.953, allocations: 1.428 MB / 0.7573 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/1.953, allocations: 40.44 kB / 0.7573 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/1.953, allocations: 104.2 kB / 0.7574 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.953, allocations: 14.3 kB / 0.7575 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.953, allocations: 7 kB / 0.7575 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.953, allocations: 3.938 kB / 0.7575 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008053/1.954, allocations: 0.6953 MB / 0.7581 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.954, allocations: 3.938 kB / 0.7581 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.955, allocations: 261.7 kB / 0.7584 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/1.958, allocations: 0.606 MB / 0.759 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/1.958, allocations: 48.75 kB / 0.759 GB, free: 129.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005828/1.964, allocations: 4.379 MB / 0.7633 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.964, allocations: 0 / 0.7633 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/1.967, allocations: 2.293 MB / 0.7656 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/1.967, allocations: 128.4 kB / 0.7657 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/1.967, allocations: 31.06 kB / 0.7657 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/1.968, allocations: 23.16 kB / 0.7657 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.968, allocations: 90.31 kB / 0.7658 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/1.968, allocations: 31.84 kB / 0.7658 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.143e-05/1.968, allocations: 82.66 kB / 0.7659 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.31e-07/1.968, allocations: 4 kB / 0.7659 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0009495/1.969, allocations: 242.6 kB / 0.7662 GB, free: 124.5 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.003797/1.973, allocations: 2.868 MB / 0.769 GB, free: 121.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003077/1.976, allocations: 1.563 MB / 0.7705 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.976, allocations: 0 / 0.7705 GB, free: 120.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.978, allocations: 0.9553 MB / 0.7714 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/1.978, allocations: 3.953 kB / 0.7714 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/1.985, allocations: 6.994 MB / 0.7782 GB, free: 112.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/1.985, allocations: 0.9523 MB / 0.7792 GB, free: 111.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005668/1.986, allocations: 293.4 kB / 0.7795 GB, free: 111.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/1.986, allocations: 175.4 kB / 0.7796 GB, free: 110.9 MB / 0.5421 GB Notification: Performance of SimCode: time 1.102e-06/1.986, allocations: 0 / 0.7796 GB, free: 110.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/2.025, allocations: 16.68 MB / 0.7959 GB, free: 94.29 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/2.025, allocations: 199 kB / 0.7961 GB, free: 94.03 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/5.011, allocations: 4.031 kB / 0.7961 GB, free: 94.02 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