Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.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.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16",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.001212/0.001212, 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0009578/0.000958, allocations: 88.53 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.072/1.072, allocations: 120.5 MB / 463 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 10.86 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1841, allocations: 82.85 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9424/1.127, allocations: 126.3 MB / 0.7477 GB, free: 7.758 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/1.127, allocations: 46.86 kB / 0.7478 GB, free: 7.738 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.1495/1.276, allocations: 42.63 MB / 0.7894 GB, free: 1.508 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.993e-06/1.276, allocations: 0 / 0.7894 GB, free: 1.508 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.272e-05/1.276, allocations: 24 kB / 0.7894 GB, free: 1.484 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.009537/1.286, allocations: 2.85 MB / 0.7922 GB, free: 14.64 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/1.286, allocations: 8.031 kB / 0.7922 GB, free: 14.64 MB / 0.5575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006786/1.287, allocations: 177.8 kB / 0.7924 GB, free: 14.52 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008705/1.288, allocations: 118.7 kB / 0.7925 GB, free: 14.4 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008528/1.296, allocations: 2.402 MB / 0.7948 GB, free: 12.05 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/1.296, allocations: 104.4 kB / 0.7949 GB, free: 11.99 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.297, allocations: 217.4 kB / 0.7951 GB, free: 11.84 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/1.302, allocations: 2.057 MB / 0.7971 GB, free: 10.21 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/1.302, allocations: 3.906 kB / 0.7971 GB, free: 10.21 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/1.302, allocations: 42.69 kB / 0.7972 GB, free: 10.2 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/1.302, allocations: 46.09 kB / 0.7972 GB, free: 10.16 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/1.305, allocations: 1.9 MB / 0.7991 GB, free: 8.68 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/1.323, allocations: 6.489 MB / 0.8054 GB, free: 3.098 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004997/1.328, allocations: 3.153 MB / 0.8085 GB, free: 0.8828 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/1.328, allocations: 21.3 kB / 0.8085 GB, free: 0.8633 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/1.328, allocations: 51.62 kB / 0.8086 GB, free: 0.8164 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=166): time 4.569e-06/1.328, allocations: 0 / 0.8086 GB, free: 0.8164 MB / 0.5575 GB Notification: Performance of matching and sorting (n=166): time 0.006529/1.335, allocations: 3.892 MB / 0.8124 GB, free: 13.83 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/1.335, allocations: 68.72 kB / 0.8124 GB, free: 13.75 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/1.336, allocations: 465.7 kB / 0.8129 GB, free: 13.38 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 0.0003396/1.336, allocations: 72.02 kB / 0.8129 GB, free: 13.33 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/1.336, allocations: 332.5 kB / 0.8133 GB, free: 13.08 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008107/1.337, allocations: 0.6667 MB / 0.8139 GB, free: 12.5 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/1.337, allocations: 46.31 kB / 0.814 GB, free: 12.48 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.0002497/1.338, allocations: 437.4 kB / 0.8144 GB, free: 12.1 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002885/1.341, allocations: 1.803 MB / 0.8161 GB, free: 10.72 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/1.344, allocations: 2.032 MB / 0.8181 GB, free: 9.109 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/1.347, allocations: 2.038 MB / 0.8201 GB, free: 7.598 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.347, allocations: 4 kB / 0.8201 GB, free: 7.594 MB / 0.5732 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006642/1.353, allocations: 4.224 MB / 0.8242 GB, free: 4.348 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.353, allocations: 8 kB / 0.8243 GB, free: 4.34 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.353, allocations: 7.938 kB / 0.8243 GB, free: 4.332 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/1.353, allocations: 15.94 kB / 0.8243 GB, free: 4.316 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/1.358, allocations: 0.9278 MB / 0.8252 GB, free: 3.406 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.555e-05/1.358, allocations: 12 kB / 0.8252 GB, free: 3.395 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/1.36, allocations: 336.2 kB / 0.8255 GB, free: 3.098 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/1.36, allocations: 63.44 kB / 0.8256 GB, free: 3.051 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (280): * Single equations (assignments): 280 * 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.0009404/1.361, allocations: 477.1 kB / 0.826 GB, free: 2.668 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/1.362, allocations: 82.97 kB / 0.8261 GB, free: 2.586 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/1.367, allocations: 3.163 MB / 0.8292 GB, free: 320 kB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.367, allocations: 16 kB / 0.8292 GB, free: 304 kB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.367, allocations: 7.891 kB / 0.8292 GB, free: 296 kB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.367, allocations: 11.97 kB / 0.8292 GB, free: 284 kB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/1.37, allocations: 1.813 MB / 0.831 GB, free: 14.81 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.37, allocations: 0 / 0.831 GB, free: 14.81 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004994/1.375, allocations: 0.8774 MB / 0.8319 GB, free: 13.95 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.721e-05/1.375, allocations: 4 kB / 0.8319 GB, free: 13.94 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/1.375, allocations: 126.4 kB / 0.832 GB, free: 13.85 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/1.375, allocations: 4 kB / 0.832 GB, free: 13.85 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.375, allocations: 0 / 0.832 GB, free: 13.85 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/1.381, allocations: 4.454 MB / 0.8363 GB, free: 10.45 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/1.383, allocations: 481.3 kB / 0.8368 GB, free: 10.01 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/1.383, allocations: 114.8 kB / 0.8369 GB, free: 9.926 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.384, allocations: 174.7 kB / 0.8371 GB, free: 9.777 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/1.385, allocations: 105.4 kB / 0.8372 GB, free: 9.684 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.385, allocations: 51.47 kB / 0.8372 GB, free: 9.645 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.000397/1.385, allocations: 356.1 kB / 0.8376 GB, free: 9.367 MB / 0.5888 GB Notification: Performance of sort global known variables: time 1.7e-07/1.385, allocations: 0 / 0.8376 GB, free: 9.367 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.001432/1.387, allocations: 489.2 kB / 0.838 GB, free: 8.945 MB / 0.5888 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 97 (P_sfc,generator[1].theta,generator[1].omega,generator[1].p,generator[1].q_ev,generator[1].y_t,generator[1].p_t_lp,generator[1].T_s[1],generator[1].T_s[2],generator[1].T_s[3],generator[1].T_s[4],generator[1].T_s[5],generator[1].T_s[6],generator[1].T_s[7],generator[1].T_s[8],generator[1].T_s[9],generator[1].T_s[10],generator[1].T_s[11],generator[1].T_s[12],generator[1].T_s[13],generator[1].T_s[14],generator[1].T_s[15],generator[1].T_s[16],generator[1].err_p_t_int,generator[1].err_p_int,generator[2].theta,generator[2].omega,generator[2].p,generator[2].q_ev,generator[2].y_t,generator[2].p_t_lp,generator[2].T_s[1],generator[2].T_s[2],generator[2].T_s[3],generator[2].T_s[4],generator[2].T_s[5],generator[2].T_s[6],generator[2].T_s[7],generator[2].T_s[8],generator[2].T_s[9],generator[2].T_s[10],generator[2].T_s[11],generator[2].T_s[12],generator[2].T_s[13],generator[2].T_s[14],generator[2].T_s[15],generator[2].T_s[16],generator[2].err_p_t_int,generator[2].err_p_int,generator[3].theta,generator[3].omega,generator[3].p,generator[3].q_ev,generator[3].y_t,generator[3].p_t_lp,generator[3].T_s[1],generator[3].T_s[2],generator[3].T_s[3],generator[3].T_s[4],generator[3].T_s[5],generator[3].T_s[6],generator[3].T_s[7],generator[3].T_s[8],generator[3].T_s[9],generator[3].T_s[10],generator[3].T_s[11],generator[3].T_s[12],generator[3].T_s[13],generator[3].T_s[14],generator[3].T_s[15],generator[3].T_s[16],generator[3].err_p_t_int,generator[3].err_p_int,generator[4].theta,generator[4].omega,generator[4].p,generator[4].q_ev,generator[4].y_t,generator[4].p_t_lp,generator[4].T_s[1],generator[4].T_s[2],generator[4].T_s[3],generator[4].T_s[4],generator[4].T_s[5],generator[4].T_s[6],generator[4].T_s[7],generator[4].T_s[8],generator[4].T_s[9],generator[4].T_s[10],generator[4].T_s[11],generator[4].T_s[12],generator[4].T_s[13],generator[4].T_s[14],generator[4].T_s[15],generator[4].T_s[16],generator[4].err_p_t_int,generator[4].err_p_int) * 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 (178): * Single equations (assignments): 178 * 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.006602/1.393, allocations: 5.122 MB / 0.843 GB, free: 4.891 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.005459/1.399, allocations: 3.466 MB / 0.8464 GB, free: 2.211 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.399, allocations: 0 / 0.8464 GB, free: 2.211 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/1.401, allocations: 1.461 MB / 0.8478 GB, free: 1.09 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/1.401, allocations: 42.23 kB / 0.8479 GB, free: 1.074 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02842/1.43, allocations: 21.15 MB / 0.8685 GB, free: 14.23 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.431, allocations: 1.365 MB / 0.8699 GB, free: 12.88 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.002914/1.434, allocations: 0.9452 MB / 0.8708 GB, free: 11.93 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.435, allocations: 433.7 kB / 0.8712 GB, free: 11.81 MB / 0.62 GB Notification: Performance of SimCode: time 1.152e-06/1.435, allocations: 4 kB / 0.8712 GB, free: 11.81 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06205/1.497, allocations: 30.92 MB / 0.9014 GB, free: 13.21 MB / 0.6513 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/1.498, allocations: 243.3 kB / 0.9016 GB, free: 12.95 MB / 0.6513 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.64, allocations: 0 / 0.9016 GB, free: 12.95 MB / 0.6513 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_16.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_16_res.mat does not exist to compare? outputFormat=mat