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"}) [: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.00101/0.00101, allocations: 180.9 kB / 8.136 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.081/1.081, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.0009242/0.0009242, allocations: 106.3 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6516/0.6516, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3439/0.9956, allocations: 88.96 MB / 0.5283 GB, free: 52.36 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/1.111, allocations: 82.85 MB / 0.6092 GB, free: 3.473 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/1.591, allocations: 125.5 MB / 0.7318 GB, free: 4.285 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001165/1.591, allocations: 45.98 kB / 0.7318 GB, free: 4.27 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.03491/1.626, allocations: 11.57 MB / 0.7431 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.626, allocations: 12 kB / 0.7431 GB, free: 10.32 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/1.626, allocations: 39.53 kB / 0.7431 GB, free: 10.29 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/1.628, allocations: 0.514 MB / 0.7437 GB, free: 9.75 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/1.628, allocations: 16 kB / 0.7437 GB, free: 9.734 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/1.628, allocations: 47.45 kB / 0.7437 GB, free: 9.691 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006887/1.629, allocations: 0.5062 MB / 0.7442 GB, free: 9.301 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/1.629, allocations: 0.4941 MB / 0.7447 GB, free: 8.895 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/1.629, allocations: 3.938 kB / 0.7447 GB, free: 8.891 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/1.629, allocations: 3.906 kB / 0.7447 GB, free: 8.887 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/1.629, allocations: 12.66 kB / 0.7447 GB, free: 8.875 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/1.632, allocations: 1.407 MB / 0.7461 GB, free: 7.652 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/1.633, allocations: 0.5074 MB / 0.7466 GB, free: 7.25 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/1.633, allocations: 379.8 kB / 0.7469 GB, free: 6.973 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/1.633, allocations: 8.422 kB / 0.7469 GB, free: 6.965 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/1.633, allocations: 41.98 kB / 0.747 GB, free: 6.918 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/1.633, allocations: 0 / 0.747 GB, free: 6.918 MB / 0.5109 GB Notification: Performance of matching and sorting (n=52): time 0.0009791/1.634, allocations: 0.6966 MB / 0.7477 GB, free: 6.352 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.634, allocations: 55.84 kB / 0.7477 GB, free: 6.285 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/1.634, allocations: 266.3 kB / 0.748 GB, free: 6.066 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/1.634, allocations: 25.7 kB / 0.748 GB, free: 6.035 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/1.634, allocations: 158.8 kB / 0.7482 GB, free: 5.887 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/1.635, allocations: 196.9 kB / 0.7483 GB, free: 5.719 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/1.635, allocations: 0 / 0.7483 GB, free: 5.719 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.635, allocations: 351.5 kB / 0.7487 GB, free: 5.383 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/1.635, allocations: 418 kB / 0.7491 GB, free: 5.074 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005401/1.636, allocations: 0.4922 MB / 0.7496 GB, free: 4.668 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/1.636, allocations: 483.6 kB / 0.75 GB, free: 4.301 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.636, allocations: 0 / 0.75 GB, free: 4.301 MB / 0.5109 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00127/1.638, allocations: 1.014 MB / 0.751 GB, free: 3.477 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.638, allocations: 4 kB / 0.751 GB, free: 3.473 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.638, allocations: 7.938 kB / 0.751 GB, free: 3.465 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.638, allocations: 7.938 kB / 0.751 GB, free: 3.457 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/1.639, allocations: 207 kB / 0.7512 GB, free: 3.262 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.639, allocations: 8 kB / 0.7512 GB, free: 3.254 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/1.639, allocations: 63.56 kB / 0.7513 GB, free: 3.191 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/1.639, allocations: 27.36 kB / 0.7513 GB, free: 3.168 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.0001223/1.639, allocations: 108.9 kB / 0.7514 GB, free: 3.055 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/1.639, allocations: 35.53 kB / 0.7515 GB, free: 3.02 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.64, allocations: 0.7844 MB / 0.7522 GB, free: 2.418 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.64, allocations: 4 kB / 0.7522 GB, free: 2.414 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/1.64, allocations: 3.984 kB / 0.7522 GB, free: 2.41 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/1.641, allocations: 0 / 0.7522 GB, free: 2.41 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/1.641, allocations: 0.5327 MB / 0.7527 GB, free: 1.926 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.641, allocations: 7.984 kB / 0.7528 GB, free: 1.918 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.642, allocations: 181.9 kB / 0.7529 GB, free: 1.746 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.642, allocations: 4 kB / 0.7529 GB, free: 1.742 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/1.642, allocations: 22.84 kB / 0.753 GB, free: 1.723 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.642, allocations: 7.938 kB / 0.753 GB, free: 1.715 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.642, allocations: 0 / 0.753 GB, free: 1.715 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001331/1.644, allocations: 1.229 MB / 0.7542 GB, free: 0.7188 MB / 0.5109 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001925/1.646, allocations: 2.08 MB / 0.7562 GB, free: 15 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/1.646, allocations: 186.4 kB / 0.7564 GB, free: 14.81 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/1.646, allocations: 23.88 kB / 0.7564 GB, free: 14.79 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/1.646, allocations: 19.97 kB / 0.7564 GB, free: 14.77 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/1.646, allocations: 23.89 kB / 0.7564 GB, free: 14.75 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/1.646, allocations: 15.56 kB / 0.7565 GB, free: 14.74 MB / 0.5265 GB Notification: Performance of sort global known variables: time 0.0001549/1.647, allocations: 208.5 kB / 0.7566 GB, free: 14.57 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0009364/1.647, allocations: 111.9 kB / 0.7568 GB, free: 14.46 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.000152/1.648, allocations: 126 kB / 0.7569 GB, free: 14.33 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.0009936/1.649, allocations: 0.8348 MB / 0.7577 GB, free: 13.68 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.649, allocations: 0 / 0.7577 GB, free: 13.68 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/1.649, allocations: 368.5 kB / 0.758 GB, free: 13.41 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/1.649, allocations: 12.69 kB / 0.7581 GB, free: 13.4 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/1.652, allocations: 2.368 MB / 0.7604 GB, free: 11.12 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/1.653, allocations: 1.031 MB / 0.7614 GB, free: 10.08 MB / 0.5265 GB Notification: Performance of SimCode: time 2.7e-07/1.653, allocations: 0 / 0.7614 GB, free: 10.08 MB / 0.5265 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