Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.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.HarmonicOscillator_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100",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.002085/0.002086, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.831/1.831, allocations: 221.5 MB / 230.3 MB, free: 7.582 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.001337/0.001337, allocations: 89.86 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.476/1.476, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.612e-05, allocations: 4 kB / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8533, allocations: 82.84 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/1.059, allocations: 124.6 MB / 0.7315 GB, free: 228 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.06, allocations: 63.91 kB / 0.7315 GB, free: 164 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.05084/1.111, allocations: 15.64 MB / 0.7468 GB, free: 488 kB / 0.5419 GB Notification: Performance of FrontEnd: time 2.184e-06/1.111, allocations: 0 / 0.7468 GB, free: 488 kB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.397e-05/1.111, allocations: 20 kB / 0.7468 GB, free: 468 kB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.935/2.046, allocations: 1.281 MB / 0.7481 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 8.757e-05/2.046, allocations: 10.2 kB / 0.7481 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/2.046, allocations: 92.61 kB / 0.7482 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/2.047, allocations: 445.7 kB / 0.7486 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/2.048, allocations: 26.64 kB / 0.7486 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005213/2.048, allocations: 190.6 kB / 0.7488 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002112/2.05, allocations: 0.7745 MB / 0.7495 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/2.053, allocations: 0.958 MB / 0.7505 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/2.053, allocations: 50.16 kB / 0.7505 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.73e-05/2.053, allocations: 7.922 kB / 0.7505 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/2.053, allocations: 19.84 kB / 0.7506 GB, free: 130.1 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/2.055, allocations: 0.8955 MB / 0.7514 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/2.057, allocations: 0.9686 MB / 0.7524 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/2.058, allocations: 0.6424 MB / 0.753 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/2.059, allocations: 22.09 kB / 0.753 GB, free: 129.3 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/2.059, allocations: 60.47 kB / 0.7531 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=200): time 7.384e-06/2.059, allocations: 0 / 0.7531 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=200): time 0.003572/2.062, allocations: 1.504 MB / 0.7546 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/2.062, allocations: 73.25 kB / 0.7546 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/2.062, allocations: 153.6 kB / 0.7548 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 9.882e-05/2.063, allocations: 25.7 kB / 0.7548 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/2.063, allocations: 97.91 kB / 0.7549 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007106/2.063, allocations: 0.8622 MB / 0.7557 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/2.063, allocations: 0 / 0.7557 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002237/2.064, allocations: 445.4 kB / 0.7562 GB, free: 127.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/2.065, allocations: 0.8614 MB / 0.757 GB, free: 127.2 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/2.067, allocations: 1.599 MB / 0.7586 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/2.068, allocations: 1.143 MB / 0.7597 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/2.068, allocations: 7.844 kB / 0.7597 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003376/2.071, allocations: 2.596 MB / 0.7622 GB, free: 125 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/2.072, allocations: 18.72 kB / 0.7622 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/2.072, allocations: 25.94 kB / 0.7623 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.176e-05/2.072, allocations: 43.72 kB / 0.7623 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/2.074, allocations: 0.8425 MB / 0.7631 GB, free: 125 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-05/2.074, allocations: 54.45 kB / 0.7632 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/2.076, allocations: 216.9 kB / 0.7634 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/2.076, allocations: 118.9 kB / 0.7635 GB, free: 124.8 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (400): * Single equations (assignments): 400 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003547/2.076, allocations: 179.4 kB / 0.7637 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002023/2.078, allocations: 1.494 MB / 0.7651 GB, free: 123.4 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/2.078, allocations: 63.25 kB / 0.7652 GB, free: 123.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/2.079, allocations: 155.2 kB / 0.7653 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/2.079, allocations: 20 kB / 0.7654 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/2.079, allocations: 11.28 kB / 0.7654 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/2.079, allocations: 11.53 kB / 0.7654 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/2.08, allocations: 0.8803 MB / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/2.08, allocations: 0 / 0.7662 GB, free: 122.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003676/2.084, allocations: 0.7 MB / 0.7669 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/2.084, allocations: 8 kB / 0.7669 GB, free: 121.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/2.084, allocations: 113.5 kB / 0.767 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/2.084, allocations: 4 kB / 0.767 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.084, allocations: 0 / 0.767 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/2.086, allocations: 2.292 MB / 0.7693 GB, free: 119.6 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/2.086, allocations: 167 kB / 0.7694 GB, free: 119.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/2.087, allocations: 78.48 kB / 0.7695 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/2.087, allocations: 50.33 kB / 0.7696 GB, free: 119.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/2.088, allocations: 122.7 kB / 0.7697 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/2.088, allocations: 63.06 kB / 0.7697 GB, free: 119.3 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 3.068e-05/2.088, allocations: 75.28 kB / 0.7698 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/2.088, allocations: 0 / 0.7698 GB, free: 119.2 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001002/2.089, allocations: 311.9 kB / 0.7701 GB, free: 118.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],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],v[41],v[42],v[43],v[44],v[45],v[46],v[47],v[48],v[49],v[50],v[51],v[52],v[53],v[54],v[55],v[56],v[57],v[58],v[59],v[60],v[61],v[62],v[63],v[64],v[65],v[66],v[67],v[68],v[69],v[70],v[71],v[72],v[73],v[74],v[75],v[76],v[77],v[78],v[79],v[80],v[81],v[82],v[83],v[84],v[85],v[86],v[87],v[88],v[89],v[90],v[91],v[92],v[93],v[94],v[95],v[96],v[97],v[98],v[99],v[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 200 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002938/2.092, allocations: 2.963 MB / 0.773 GB, free: 116.2 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002615/2.094, allocations: 2.006 MB / 0.775 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/2.094, allocations: 4 kB / 0.775 GB, free: 114.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/2.095, allocations: 0.8465 MB / 0.7758 GB, free: 113.6 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/2.096, allocations: 14.64 kB / 0.7758 GB, free: 113.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/2.112, allocations: 16.22 MB / 0.7916 GB, free: 98.75 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/2.113, allocations: 1.172 MB / 0.7928 GB, free: 97.55 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001875/2.115, allocations: 0.7791 MB / 0.7935 GB, free: 96.76 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/2.115, allocations: 387.3 kB / 0.7939 GB, free: 96.38 MB / 0.5421 GB Notification: Performance of SimCode: time 1.383e-06/2.115, allocations: 0 / 0.7939 GB, free: 96.38 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/2.164, allocations: 23.02 MB / 0.8164 GB, free: 73.41 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/2.164, allocations: 195.2 kB / 0.8166 GB, free: 73.22 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/5.342, allocations: 0 / 0.8166 GB, free: 73.22 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillator_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat does not exist to compare? outputFormat=mat