Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.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_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.5 kB / 8.133 MB, free: 2.215 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.097/1.097, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.001014/0.001014, allocations: 93.62 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6359/0.6359, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3337/0.9696, allocations: 88.96 MB / 0.5283 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/1.082, allocations: 82.85 MB / 0.6092 GB, free: 3.48 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/1.557, allocations: 125.5 MB / 0.7318 GB, free: 4.785 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001198/1.557, allocations: 53.89 kB / 0.7318 GB, free: 4.77 MB / 0.4953 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.03417/1.591, allocations: 11.58 MB / 0.7431 GB, free: 10.8 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.591, allocations: 8 kB / 0.7432 GB, free: 10.8 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.591, allocations: 42.59 kB / 0.7432 GB, free: 10.76 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/1.593, allocations: 0.5168 MB / 0.7437 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/1.593, allocations: 12 kB / 0.7437 GB, free: 10.21 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.593, allocations: 47.39 kB / 0.7438 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006966/1.594, allocations: 0.5081 MB / 0.7443 GB, free: 9.773 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/1.594, allocations: 0.4968 MB / 0.7447 GB, free: 9.363 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/1.594, allocations: 0 / 0.7447 GB, free: 9.363 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/1.594, allocations: 7.906 kB / 0.7447 GB, free: 9.355 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/1.594, allocations: 16.64 kB / 0.7448 GB, free: 9.34 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002484/1.597, allocations: 1.395 MB / 0.7461 GB, free: 8.129 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/1.598, allocations: 0.5198 MB / 0.7466 GB, free: 7.719 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/1.598, allocations: 376 kB / 0.747 GB, free: 7.445 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/1.598, allocations: 8.422 kB / 0.747 GB, free: 7.438 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.598, allocations: 38.56 kB / 0.747 GB, free: 7.395 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=52): time 1.513e-06/1.598, allocations: 7.938 kB / 0.747 GB, free: 7.387 MB / 0.5109 GB Notification: Performance of matching and sorting (n=52): time 0.0009671/1.599, allocations: 0.6927 MB / 0.7477 GB, free: 6.824 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/1.599, allocations: 59.84 kB / 0.7478 GB, free: 6.754 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/1.599, allocations: 268.3 kB / 0.748 GB, free: 6.531 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/1.6, allocations: 25.7 kB / 0.7481 GB, free: 6.5 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/1.6, allocations: 150.7 kB / 0.7482 GB, free: 6.359 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.6, allocations: 197.3 kB / 0.7484 GB, free: 6.191 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/1.6, allocations: 0 / 0.7484 GB, free: 6.191 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.6, allocations: 360.7 kB / 0.7487 GB, free: 5.848 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/1.6, allocations: 413 kB / 0.7491 GB, free: 5.543 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/1.601, allocations: 498.9 kB / 0.7496 GB, free: 5.141 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/1.602, allocations: 499.4 kB / 0.7501 GB, free: 4.762 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.602, allocations: 0 / 0.7501 GB, free: 4.762 MB / 0.5109 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00128/1.603, allocations: 1.003 MB / 0.7511 GB, free: 3.945 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.603, allocations: 4 kB / 0.7511 GB, free: 3.941 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.603, allocations: 4 kB / 0.7511 GB, free: 3.938 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.603, allocations: 8.156 kB / 0.7511 GB, free: 3.93 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/1.604, allocations: 211.6 kB / 0.7513 GB, free: 3.73 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.604, allocations: 8 kB / 0.7513 GB, free: 3.723 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/1.604, allocations: 63.33 kB / 0.7513 GB, free: 3.66 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/1.604, allocations: 27.62 kB / 0.7514 GB, free: 3.637 MB / 0.5109 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 () * 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.0001233/1.604, allocations: 108.9 kB / 0.7515 GB, free: 3.523 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/1.605, allocations: 39.09 kB / 0.7515 GB, free: 3.488 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/1.606, allocations: 0.7796 MB / 0.7523 GB, free: 2.887 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.606, allocations: 8 kB / 0.7523 GB, free: 2.879 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.606, allocations: 0 / 0.7523 GB, free: 2.879 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/1.606, allocations: 0 / 0.7523 GB, free: 2.879 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/1.606, allocations: 0.5385 MB / 0.7528 GB, free: 2.391 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.606, allocations: 0 / 0.7528 GB, free: 2.391 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.607, allocations: 186.8 kB / 0.753 GB, free: 2.215 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/1.607, allocations: 4 kB / 0.753 GB, free: 2.211 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/1.607, allocations: 23.66 kB / 0.753 GB, free: 2.191 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.607, allocations: 4 kB / 0.753 GB, free: 2.188 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.607, allocations: 0 / 0.753 GB, free: 2.188 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/1.609, allocations: 1.231 MB / 0.7542 GB, free: 1.188 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002016/1.611, allocations: 2.084 MB / 0.7563 GB, free: 15.46 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/1.611, allocations: 184.1 kB / 0.7564 GB, free: 15.28 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/1.611, allocations: 27.81 kB / 0.7565 GB, free: 15.25 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/1.612, allocations: 15.97 kB / 0.7565 GB, free: 15.24 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/1.612, allocations: 32.27 kB / 0.7565 GB, free: 15.21 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/1.612, allocations: 15.81 kB / 0.7565 GB, free: 15.2 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0001674/1.612, allocations: 203.6 kB / 0.7567 GB, free: 15.04 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.000962/1.613, allocations: 111.9 kB / 0.7568 GB, free: 14.93 MB / 0.5265 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 () * 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.0001624/1.613, allocations: 122 kB / 0.7569 GB, free: 14.8 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.614, allocations: 0.8392 MB / 0.7578 GB, free: 14.15 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.614, allocations: 3.938 kB / 0.7578 GB, free: 14.14 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004172/1.614, allocations: 373.2 kB / 0.7581 GB, free: 13.86 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/1.615, allocations: 11.52 kB / 0.7581 GB, free: 13.86 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/1.618, allocations: 2.362 MB / 0.7604 GB, free: 11.58 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007462/1.618, allocations: 1.032 MB / 0.7614 GB, free: 10.54 MB / 0.5265 GB Notification: Performance of SimCode: time 3.4e-07/1.618, allocations: 3.938 kB / 0.7614 GB, free: 10.53 MB / 0.5265 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat does not exist to compare? outputFormat=mat