Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.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.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.001309/0.001309, allocations: 180.8 kB / 16.39 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.452/1.452, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001231/0.001231, allocations: 98.44 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9458/0.9458, allocations: 120.5 MB / 463 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.000357, allocations: 8 kB / 0.5434 GB, free: 42.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1679, allocations: 82.85 MB / 0.6243 GB, free: 9.117 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8285/0.9964, allocations: 126.3 MB / 0.7477 GB, free: 7.809 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001431/0.9966, allocations: 50.61 kB / 0.7477 GB, free: 7.789 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03663/1.033, allocations: 11.27 MB / 0.7587 GB, free: 13.9 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.232e-06/1.033, allocations: 3.938 kB / 0.7587 GB, free: 13.9 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 1.9e-05/1.033, allocations: 8 kB / 0.7587 GB, free: 13.89 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001778/1.035, allocations: 0.8985 MB / 0.7596 GB, free: 12.96 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/1.035, allocations: 8.031 kB / 0.7596 GB, free: 12.96 MB / 0.5263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.449e-05/1.035, allocations: 73.72 kB / 0.7597 GB, free: 12.89 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.54e-05/1.035, allocations: 39.53 kB / 0.7597 GB, free: 12.86 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/1.037, allocations: 0.5544 MB / 0.7603 GB, free: 12.28 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.037, allocations: 28.22 kB / 0.7603 GB, free: 12.27 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/1.037, allocations: 63.27 kB / 0.7603 GB, free: 12.22 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/1.038, allocations: 0.5274 MB / 0.7609 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/1.038, allocations: 0 / 0.7609 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/1.038, allocations: 19.56 kB / 0.7609 GB, free: 11.8 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.038, allocations: 16.64 kB / 0.7609 GB, free: 11.78 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/1.039, allocations: 0.5005 MB / 0.7614 GB, free: 11.39 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/1.042, allocations: 1.593 MB / 0.7629 GB, free: 10 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.044, allocations: 0.8746 MB / 0.7638 GB, free: 9.328 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/1.044, allocations: 4.938 kB / 0.7638 GB, free: 9.324 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.044, allocations: 43.06 kB / 0.7638 GB, free: 9.277 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=52): time 1.763e-06/1.044, allocations: 0 / 0.7638 GB, free: 9.277 MB / 0.5263 GB Notification: Performance of matching and sorting (n=52): time 0.001455/1.045, allocations: 0.9887 MB / 0.7648 GB, free: 8.508 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/1.045, allocations: 55.84 kB / 0.7649 GB, free: 8.441 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/1.046, allocations: 284.4 kB / 0.7651 GB, free: 8.207 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/1.046, allocations: 37.14 kB / 0.7652 GB, free: 8.172 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/1.046, allocations: 171.5 kB / 0.7653 GB, free: 8.035 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/1.046, allocations: 212.1 kB / 0.7655 GB, free: 7.855 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/1.046, allocations: 15.5 kB / 0.7655 GB, free: 7.852 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.046, allocations: 353.1 kB / 0.7659 GB, free: 7.516 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/1.047, allocations: 409.8 kB / 0.7663 GB, free: 7.211 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/1.048, allocations: 0.4925 MB / 0.7668 GB, free: 6.801 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/1.048, allocations: 478.2 kB / 0.7672 GB, free: 6.465 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.048, allocations: 0 / 0.7672 GB, free: 6.465 MB / 0.5263 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001437/1.05, allocations: 1.025 MB / 0.7682 GB, free: 5.676 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.05, allocations: 10.81 kB / 0.7682 GB, free: 5.668 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.05, allocations: 0 / 0.7682 GB, free: 5.668 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.05, allocations: 8 kB / 0.7682 GB, free: 5.66 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/1.051, allocations: 235.6 kB / 0.7685 GB, free: 5.438 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.051, allocations: 4 kB / 0.7685 GB, free: 5.434 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/1.051, allocations: 86.73 kB / 0.7685 GB, free: 5.355 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/1.051, allocations: 23.88 kB / 0.7686 GB, free: 5.34 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (86): * Single equations (assignments): 86 * 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.0002475/1.051, allocations: 224.1 kB / 0.7688 GB, free: 5.141 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/1.051, allocations: 39.48 kB / 0.7688 GB, free: 5.102 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.053, allocations: 0.7933 MB / 0.7696 GB, free: 4.531 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.053, allocations: 8 kB / 0.7696 GB, free: 4.523 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.053, allocations: 4 kB / 0.7696 GB, free: 4.52 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.053, allocations: 3.984 kB / 0.7696 GB, free: 4.516 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/1.053, allocations: 0.5796 MB / 0.7702 GB, free: 3.992 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.053, allocations: 0 / 0.7702 GB, free: 3.992 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.055, allocations: 206.8 kB / 0.7704 GB, free: 3.793 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/1.055, allocations: 11.89 kB / 0.7704 GB, free: 3.781 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/1.055, allocations: 27.61 kB / 0.7704 GB, free: 3.766 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.055, allocations: 0 / 0.7704 GB, free: 3.766 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.055, allocations: 0 / 0.7704 GB, free: 3.766 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.056, allocations: 1.229 MB / 0.7716 GB, free: 2.797 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/1.057, allocations: 180.4 kB / 0.7718 GB, free: 2.613 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/1.057, allocations: 31.56 kB / 0.7718 GB, free: 2.594 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/1.057, allocations: 43.8 kB / 0.7718 GB, free: 2.555 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/1.057, allocations: 31.89 kB / 0.7719 GB, free: 2.527 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/1.057, allocations: 11.88 kB / 0.7719 GB, free: 2.52 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0002021/1.057, allocations: 220.7 kB / 0.7721 GB, free: 2.34 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.1e-07/1.057, allocations: 0 / 0.7721 GB, free: 2.34 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004047/1.058, allocations: 143.3 kB / 0.7722 GB, free: 2.219 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 25 (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].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].err_p_t_int,generator[2].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 (54): * Single equations (assignments): 54 * 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.001995/1.06, allocations: 1.788 MB / 0.774 GB, free: 0.6992 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.061, allocations: 0.8298 MB / 0.7748 GB, free: 52 kB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.061, allocations: 0 / 0.7748 GB, free: 52 kB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/1.061, allocations: 368.6 kB / 0.7751 GB, free: 15.78 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/1.062, allocations: 20.73 kB / 0.7752 GB, free: 15.77 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006952/1.069, allocations: 6.326 MB / 0.7813 GB, free: 10.03 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.069, allocations: 0.908 MB / 0.7822 GB, free: 9.109 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0005485/1.07, allocations: 251 kB / 0.7825 GB, free: 8.863 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/1.07, allocations: 128.4 kB / 0.7826 GB, free: 8.82 MB / 0.5419 GB Notification: Performance of SimCode: time 1.623e-06/1.07, allocations: 0 / 0.7826 GB, free: 8.82 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/1.093, allocations: 8.838 MB / 0.7912 GB, free: 212 kB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/1.094, allocations: 222.5 kB / 0.7914 GB, free: 15.96 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.494, allocations: 3.375 kB / 0.7914 GB, free: 15.96 MB / 0.5575 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat does not exist to compare? outputFormat=mat