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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 107 kB / 16.92 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 191.3 kB / 17.85 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.458/1.458, allocations: 119.3 MB / 411 MB, free: 9.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 59.91 kB / 0.4911 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8406, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4): time 0.003779/0.8445, allocations: 1.817 MB / 0.5716 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.8456, allocations: 0.5569 MB / 0.5722 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.8456, allocations: 1.188 kB / 0.5722 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.8458, allocations: 21.09 kB / 0.5722 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.846, allocations: 71.47 kB / 0.5723 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.8464, allocations: 78.5 kB / 0.5723 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.8481, allocations: 1.347 MB / 0.5736 GB, free: 40.55 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.8483, allocations: 90.48 kB / 0.5737 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.849, allocations: 0.4932 MB / 0.5742 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008229/0.8499, allocations: 0.5745 MB / 0.5748 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.8501, allocations: 84.72 kB / 0.5749 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.8504, allocations: 84.78 kB / 0.5749 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.8507, allocations: 320.2 kB / 0.5752 GB, free: 39.71 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0008278/0.8516, allocations: 463.3 kB / 0.5757 GB, free: 39.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.8527, allocations: 1.11 MB / 0.5768 GB, free: 38.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.8527, allocations: 0 / 0.5768 GB, free: 38.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8527, allocations: 9.312 kB / 0.5768 GB, free: 38.69 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.8528, allocations: 0 / 0.5768 GB, free: 38.69 MB / 462.3 MB 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.0048/0.8576, allocations: 1.652 MB / 0.5784 GB, free: 37.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.8576, allocations: 10.16 kB / 0.5784 GB, free: 37.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.8578, allocations: 123.2 kB / 0.5785 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.8581, allocations: 92.12 kB / 0.5786 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.8592, allocations: 0.5459 MB / 0.5791 GB, free: 37.09 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.8593, allocations: 71.53 kB / 0.5792 GB, free: 37.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004945/0.8598, allocations: 140.5 kB / 0.5793 GB, free: 37 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.8621, allocations: 1.151 MB / 0.5805 GB, free: 36.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.8621, allocations: 1.281 kB / 0.5805 GB, free: 36.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.8622, allocations: 26.31 kB / 0.5805 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/0.8623, allocations: 29.91 kB / 0.5805 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.8643, allocations: 1.232 MB / 0.5817 GB, free: 35.78 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009288/0.8736, allocations: 3.218 MB / 0.5849 GB, free: 34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.8761, allocations: 1.83 MB / 0.5867 GB, free: 32.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.8771, allocations: 0.8931 MB / 0.5875 GB, free: 31.38 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.8772, allocations: 16.98 kB / 0.5875 GB, free: 31.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8772, allocations: 51.5 kB / 0.5876 GB, free: 31.3 MB / 462.3 MB Notification: Performance of pre-optimization done (n=118): time 3.777e-06/0.8772, allocations: 0 / 0.5876 GB, free: 31.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=118): time 0.003231/0.8804, allocations: 2.248 MB / 0.5898 GB, free: 29.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.8805, allocations: 64.41 kB / 0.5898 GB, free: 28.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.881, allocations: 0.5056 MB / 0.5903 GB, free: 28.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.8811, allocations: 49.7 kB / 0.5904 GB, free: 28.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.8814, allocations: 269.4 kB / 0.5906 GB, free: 28.14 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.8817, allocations: 453.5 kB / 0.5911 GB, free: 27.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/0.8821, allocations: 275.5 kB / 0.5913 GB, free: 27.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.8822, allocations: 334 kB / 0.5917 GB, free: 27.09 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.8835, allocations: 0.8977 MB / 0.5925 GB, free: 26.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.8847, allocations: 1.075 MB / 0.5936 GB, free: 25.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.8867, allocations: 1.953 MB / 0.5955 GB, free: 23.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.8867, allocations: 0 / 0.5955 GB, free: 23.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003064/0.8898, allocations: 2.233 MB / 0.5977 GB, free: 20.83 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.8898, allocations: 12.09 kB / 0.5977 GB, free: 20.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.8899, allocations: 8 kB / 0.5977 GB, free: 20.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.564e-05/0.8899, allocations: 12 kB / 0.5977 GB, free: 20.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.8918, allocations: 483.3 kB / 0.5982 GB, free: 20.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.8918, allocations: 8 kB / 0.5982 GB, free: 20.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.893, allocations: 194.5 kB / 0.5984 GB, free: 20.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.8931, allocations: 51.98 kB / 0.5984 GB, free: 20.08 MB / 462.3 MB 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 (184): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005171/0.8937, allocations: 337.3 kB / 0.5987 GB, free: 19.74 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.8938, allocations: 79.09 kB / 0.5988 GB, free: 19.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.8964, allocations: 1.871 MB / 0.6006 GB, free: 17.78 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.8964, allocations: 15.94 kB / 0.6006 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8964, allocations: 0 / 0.6006 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.8964, allocations: 3.984 kB / 0.6007 GB, free: 17.76 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.8981, allocations: 1.122 MB / 0.6017 GB, free: 16.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.8981, allocations: 7.938 kB / 0.6018 GB, free: 16.58 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.9, allocations: 455.5 kB / 0.6022 GB, free: 16.13 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.9001, allocations: 11.88 kB / 0.6022 GB, free: 16.12 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.9002, allocations: 63.94 kB / 0.6023 GB, free: 16.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.9002, allocations: 4 kB / 0.6023 GB, free: 16.05 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9002, allocations: 0 / 0.6023 GB, free: 16.05 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.9036, allocations: 2.704 MB / 0.6049 GB, free: 13.34 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.9048, allocations: 327.8 kB / 0.6052 GB, free: 13 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005584/0.9054, allocations: 63.95 kB / 0.6053 GB, free: 12.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.9061, allocations: 91.86 kB / 0.6054 GB, free: 12.85 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.9063, allocations: 73.2 kB / 0.6054 GB, free: 12.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/0.9064, allocations: 35.92 kB / 0.6055 GB, free: 12.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0003344/0.9068, allocations: 355.1 kB / 0.6058 GB, free: 12.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.9068, allocations: 0 / 0.6058 GB, free: 12.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007817/0.9076, allocations: 287.8 kB / 0.6061 GB, free: 12.12 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003488/0.911, allocations: 3.327 MB / 0.6093 GB, free: 8.766 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.9156, allocations: 3.182 MB / 0.6124 GB, free: 5.582 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.9156, allocations: 0 / 0.6124 GB, free: 5.582 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009263/0.9165, allocations: 0.8699 MB / 0.6133 GB, free: 4.711 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.9171, allocations: 57.97 kB / 0.6133 GB, free: 4.648 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/0.9382, allocations: 13.9 MB / 0.6269 GB, free: 6.496 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.9394, allocations: 1.127 MB / 0.628 GB, free: 5.34 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001589/0.941, allocations: 0.5603 MB / 0.6286 GB, free: 4.773 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.9417, allocations: 291.3 kB / 0.6288 GB, free: 4.488 MB / 478.3 MB Notification: Performance of SimCode: time 1.212e-06/0.9417, allocations: 0 / 0.6288 GB, free: 4.488 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/0.9977, allocations: 19.48 MB / 0.6479 GB, free: 1.211 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.5, allocations: 16.45 kB / 0.6479 GB, free: 1.195 MB / 494.3 MB (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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_4_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches