Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_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.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_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.001211/0.00121, 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.392/1.392, allocations: 221.3 MB / 235.5 MB, free: 2.988 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.001083/0.001083, allocations: 102.3 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.261/1.261, allocations: 120.4 MB / 457.8 MB, free: 7.07 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.34e-05/3.36e-05, allocations: 4 kB / 0.5368 GB, free: 11.14 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.6613, allocations: 82.83 MB / 0.6177 GB, free: 9.305 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.8227, allocations: 125.2 MB / 0.7399 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.8229, allocations: 59.83 kB / 0.7399 GB, free: 11.96 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.02214/0.8451, allocations: 6.122 MB / 0.7459 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8451, allocations: 0 / 0.7459 GB, free: 5.824 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.8452, allocations: 8 kB / 0.7459 GB, free: 5.816 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00189/0.8471, allocations: 0.8498 MB / 0.7468 GB, free: 4.922 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.8471, allocations: 8.031 kB / 0.7468 GB, free: 4.914 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.8474, allocations: 78.53 kB / 0.7468 GB, free: 4.828 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.8475, allocations: 43.58 kB / 0.7469 GB, free: 4.785 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.848, allocations: 282.6 kB / 0.7471 GB, free: 4.469 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.848, allocations: 29 kB / 0.7472 GB, free: 4.441 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.8482, allocations: 83.61 kB / 0.7473 GB, free: 4.359 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.8491, allocations: 0.506 MB / 0.7478 GB, free: 3.848 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.8491, allocations: 0 / 0.7478 GB, free: 3.848 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.8492, allocations: 16 kB / 0.7478 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.8492, allocations: 11.95 kB / 0.7478 GB, free: 3.82 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.8497, allocations: 299.9 kB / 0.7481 GB, free: 3.527 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.8517, allocations: 1.052 MB / 0.7491 GB, free: 2.422 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.8533, allocations: 1.067 MB / 0.7501 GB, free: 1.348 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.8538, allocations: 343.8 kB / 0.7505 GB, free: 1.012 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.794e-05/0.8539, allocations: 12.83 kB / 0.7505 GB, free: 1.004 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.8539, allocations: 39.84 kB / 0.7505 GB, free: 0.957 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=100): time 2.265e-06/0.8539, allocations: 0 / 0.7505 GB, free: 0.957 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100): time 0.001278/0.8552, allocations: 0.8394 MB / 0.7513 GB, free: 104 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.8553, allocations: 64.41 kB / 0.7514 GB, free: 28 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.767/1.622, allocations: 89.8 kB / 0.7515 GB, free: 132.7 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.623, allocations: 41.86 kB / 0.7515 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/1.623, allocations: 84.73 kB / 0.7516 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/1.623, allocations: 483.3 kB / 0.7521 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/1.623, allocations: 31.28 kB / 0.7521 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.623, allocations: 376.1 kB / 0.7524 GB, free: 132 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.624, allocations: 0.5788 MB / 0.753 GB, free: 132 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/1.626, allocations: 0.6967 MB / 0.7537 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/1.627, allocations: 0.7174 MB / 0.7544 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.627, allocations: 0 / 0.7544 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002911/1.63, allocations: 1.573 MB / 0.7559 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/1.63, allocations: 5.5 kB / 0.7559 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.63, allocations: 0.9688 kB / 0.7559 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/1.63, allocations: 7.047 kB / 0.7559 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.632, allocations: 0.5104 MB / 0.7564 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/1.632, allocations: 11.67 kB / 0.7565 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/1.633, allocations: 154.2 kB / 0.7566 GB, free: 131 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.911e-05/1.633, allocations: 44.5 kB / 0.7566 GB, free: 131 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 201 * 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.0002158/1.633, allocations: 175.5 kB / 0.7568 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.633, allocations: 38.5 kB / 0.7568 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/1.633, allocations: 85.92 kB / 0.7569 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/1.633, allocations: 9.438 kB / 0.7569 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.633, allocations: 1.875 kB / 0.7569 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.633, allocations: 11.48 kB / 0.757 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/1.634, allocations: 0.5475 MB / 0.7575 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.634, allocations: 0.6562 kB / 0.7575 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.637, allocations: 0.5121 MB / 0.758 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-05/1.637, allocations: 4.922 kB / 0.758 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.637, allocations: 66.09 kB / 0.7581 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/1.637, allocations: 3.125 kB / 0.7581 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.637, allocations: 14.58 kB / 0.7581 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/1.64, allocations: 1.324 MB / 0.7594 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/1.64, allocations: 121.9 kB / 0.7595 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.64, allocations: 55.86 kB / 0.7595 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/1.64, allocations: 64.28 kB / 0.7596 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/1.641, allocations: 61.02 kB / 0.7597 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/1.641, allocations: 28.28 kB / 0.7597 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.094e-05/1.641, allocations: 91.56 kB / 0.7598 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.41e-07/1.641, allocations: 0 / 0.7598 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0007165/1.641, allocations: 209.5 kB / 0.76 GB, free: 129.7 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * 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.001823/1.643, allocations: 1.949 MB / 0.7619 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001625/1.645, allocations: 1.159 MB / 0.763 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.645, allocations: 3.938 kB / 0.763 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/1.645, allocations: 433.8 kB / 0.7634 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/1.646, allocations: 19.19 kB / 0.7634 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/1.648, allocations: 3.12 MB / 0.7665 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/1.649, allocations: 0.9283 MB / 0.7674 GB, free: 124.8 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.000786/1.65, allocations: 389.8 kB / 0.7678 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/1.65, allocations: 190.4 kB / 0.7679 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of SimCode: time 1.092e-06/1.65, allocations: 4 kB / 0.7679 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/1.674, allocations: 12.29 MB / 0.7799 GB, free: 112.7 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/1.674, allocations: 188.8 kB / 0.7801 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/4.534, allocations: 2.25 kB / 0.7801 GB, free: 112.5 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat does not exist to compare? outputFormat=mat