Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_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_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_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.001121/0.001121, allocations: 182 kB / 8.129 MB, free: 2.219 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.105/1.105, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0009868/0.0009867, allocations: 102.4 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7005/0.7005, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3667/1.067, allocations: 88.96 MB / 0.5283 GB, free: 52.39 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/1.196, allocations: 82.85 MB / 0.6092 GB, free: 3.492 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5262/1.722, allocations: 125.5 MB / 0.7318 GB, free: 4.254 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001377/1.722, allocations: 49.95 kB / 0.7318 GB, free: 4.238 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.0862/1.808, allocations: 27.22 MB / 0.7584 GB, free: 12.83 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.809, allocations: 12 kB / 0.7584 GB, free: 12.82 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/1.809, allocations: 86.97 kB / 0.7585 GB, free: 12.73 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00252/1.811, allocations: 0.8868 MB / 0.7594 GB, free: 11.86 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/1.811, allocations: 20 kB / 0.7594 GB, free: 11.84 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/1.812, allocations: 106.5 kB / 0.7595 GB, free: 11.74 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001753/1.814, allocations: 1.228 MB / 0.7607 GB, free: 10.79 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.815, allocations: 1.091 MB / 0.7618 GB, free: 9.914 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.815, allocations: 4 kB / 0.7618 GB, free: 9.91 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/1.815, allocations: 0 / 0.7618 GB, free: 9.91 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/1.815, allocations: 29.94 kB / 0.7618 GB, free: 9.879 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/1.821, allocations: 2.876 MB / 0.7646 GB, free: 7.461 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.823, allocations: 1.032 MB / 0.7656 GB, free: 6.672 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.824, allocations: 0.8816 MB / 0.7665 GB, free: 6.027 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/1.824, allocations: 13 kB / 0.7665 GB, free: 6.016 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/1.824, allocations: 46.19 kB / 0.7665 GB, free: 5.969 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=118): time 4.017e-06/1.824, allocations: 0 / 0.7665 GB, free: 5.969 MB / 0.5265 GB Notification: Performance of matching and sorting (n=118): time 0.002239/1.826, allocations: 1.57 MB / 0.7681 GB, free: 4.715 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.826, allocations: 69.19 kB / 0.7681 GB, free: 4.641 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/1.826, allocations: 423.9 kB / 0.7685 GB, free: 4.301 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.827, allocations: 25.7 kB / 0.7686 GB, free: 4.27 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/1.827, allocations: 216.2 kB / 0.7688 GB, free: 4.07 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/1.827, allocations: 438.6 kB / 0.7692 GB, free: 3.691 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/1.827, allocations: 0 / 0.7692 GB, free: 3.691 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.827, allocations: 397.3 kB / 0.7696 GB, free: 3.328 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.828, allocations: 0.9034 MB / 0.7704 GB, free: 2.648 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.83, allocations: 1.064 MB / 0.7715 GB, free: 1.789 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/1.831, allocations: 1.061 MB / 0.7725 GB, free: 0.9688 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.831, allocations: 3.938 kB / 0.7725 GB, free: 0.9648 MB / 0.5265 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.002873/1.834, allocations: 2.202 MB / 0.7747 GB, free: 15.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.834, allocations: 8 kB / 0.7747 GB, free: 15.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.834, allocations: 4 kB / 0.7747 GB, free: 15.19 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.834, allocations: 11.91 kB / 0.7747 GB, free: 15.18 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/1.836, allocations: 439.1 kB / 0.7751 GB, free: 14.76 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/1.836, allocations: 8 kB / 0.7751 GB, free: 14.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/1.837, allocations: 127 kB / 0.7752 GB, free: 14.63 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.837, allocations: 55.61 kB / 0.7753 GB, free: 14.59 MB / 0.5421 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 184 * 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.0002715/1.837, allocations: 120.7 kB / 0.7754 GB, free: 14.46 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/1.838, allocations: 67.16 kB / 0.7755 GB, free: 14.39 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/1.84, allocations: 1.815 MB / 0.7772 GB, free: 13.02 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/1.84, allocations: 12 kB / 0.7773 GB, free: 13 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.84, allocations: 8 kB / 0.7773 GB, free: 13 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.84, allocations: 3.984 kB / 0.7773 GB, free: 12.99 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/1.841, allocations: 1.053 MB / 0.7783 GB, free: 12.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/1.841, allocations: 3.938 kB / 0.7783 GB, free: 12.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.844, allocations: 414.6 kB / 0.7787 GB, free: 11.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/1.844, allocations: 4 kB / 0.7787 GB, free: 11.7 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.844, allocations: 44.89 kB / 0.7787 GB, free: 11.66 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/1.844, allocations: 4 kB / 0.7787 GB, free: 11.66 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.844, allocations: 7.984 kB / 0.7788 GB, free: 11.65 MB / 0.5421 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00332/1.847, allocations: 2.69 MB / 0.7814 GB, free: 9.535 MB / 0.5421 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004582/1.852, allocations: 4.182 MB / 0.7855 GB, free: 6.227 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005271/1.853, allocations: 326.3 kB / 0.7858 GB, free: 5.918 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/1.853, allocations: 43.83 kB / 0.7858 GB, free: 5.883 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/1.853, allocations: 47.83 kB / 0.7859 GB, free: 5.836 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.854, allocations: 68.95 kB / 0.7859 GB, free: 5.777 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/1.854, allocations: 39.48 kB / 0.786 GB, free: 5.746 MB / 0.5421 GB Notification: Performance of sort global known variables: time 0.0002896/1.854, allocations: 313.1 kB / 0.7863 GB, free: 5.504 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001274/1.855, allocations: 247.8 kB / 0.7865 GB, free: 5.262 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 49 (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,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].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].err_p_t_int,generator[4].err_p_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.0002268/1.855, allocations: 151.8 kB / 0.7866 GB, free: 5.109 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002366/1.858, allocations: 1.883 MB / 0.7885 GB, free: 3.656 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.858, allocations: 0 / 0.7885 GB, free: 3.656 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/1.859, allocations: 0.8712 MB / 0.7893 GB, free: 2.992 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.859, allocations: 23.34 kB / 0.7894 GB, free: 2.98 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/1.865, allocations: 4.891 MB / 0.7941 GB, free: 14.3 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.867, allocations: 1.39 MB / 0.7955 GB, free: 12.93 MB / 0.5578 GB Notification: Performance of SimCode: time 4.7e-07/1.867, allocations: 0 / 0.7955 GB, free: 12.93 MB / 0.5578 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4_fmu --startTime=0 --stopTime=200 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_4_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat does not exist to compare? outputFormat=mat