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/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009701/0.0009701, allocations: 92.14 kB / 16.65 MB, free: 6.594 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.001175/0.001175, allocations: 183.3 kB / 17.56 MB, free: 6.203 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.291/1.291, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9401/0.9401, allocations: 120.5 MB / 413.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 8 kB / 0.495 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5097, allocations: 82.84 MB / 0.5759 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.001449/0.5112, allocations: 1.526 MB / 0.5774 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.512, allocations: 0.5435 MB / 0.5779 GB, free: 40.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.512, allocations: 7.875 kB / 0.5779 GB, free: 40.22 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.5121, allocations: 17.22 kB / 0.578 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.5123, allocations: 64.45 kB / 0.578 GB, free: 40.15 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.5126, allocations: 67.05 kB / 0.5781 GB, free: 40.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005371/0.5131, allocations: 0.7149 MB / 0.5788 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.723e-05/0.5132, allocations: 45.61 kB / 0.5788 GB, free: 39.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.5134, allocations: 205 kB / 0.579 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.5137, allocations: 254.9 kB / 0.5793 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.5138, allocations: 21.41 kB / 0.5793 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.832e-05/0.5138, allocations: 22.66 kB / 0.5793 GB, free: 39.42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.514, allocations: 120.5 kB / 0.5794 GB, free: 39.33 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.5141, allocations: 213 kB / 0.5796 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.5145, allocations: 0.5051 MB / 0.5801 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5145, allocations: 0 / 0.5801 GB, free: 38.85 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5145, allocations: 0 / 0.5801 GB, free: 38.85 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.5145, allocations: 0.9375 kB / 0.5801 GB, free: 38.85 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001785/0.5163, allocations: 0.8739 MB / 0.581 GB, free: 38.21 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5164, allocations: 9.219 kB / 0.581 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/0.5165, allocations: 72.56 kB / 0.5811 GB, free: 38.14 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.5165, allocations: 50.59 kB / 0.5811 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.5169, allocations: 355.2 kB / 0.5814 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.5169, allocations: 36.59 kB / 0.5815 GB, free: 37.8 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.5172, allocations: 68.3 kB / 0.5815 GB, free: 37.77 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.5179, allocations: 0.5252 MB / 0.5821 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5179, allocations: 5.156 kB / 0.5821 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.518, allocations: 15.81 kB / 0.5821 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.518, allocations: 15.98 kB / 0.5821 GB, free: 37.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.5187, allocations: 0.4983 MB / 0.5826 GB, free: 37.22 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.5216, allocations: 1.596 MB / 0.5841 GB, free: 36.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.523, allocations: 0.8704 MB / 0.585 GB, free: 35.83 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.5235, allocations: 380.3 kB / 0.5853 GB, free: 35.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.5235, allocations: 8.812 kB / 0.5854 GB, free: 35.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.5235, allocations: 37.19 kB / 0.5854 GB, free: 35.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=52): time 2.024e-06/0.5235, allocations: 0 / 0.5854 GB, free: 35.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=52): time 0.001349/0.5249, allocations: 0.9982 MB / 0.5864 GB, free: 35.11 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.5249, allocations: 56.44 kB / 0.5864 GB, free: 35.05 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.5252, allocations: 313.8 kB / 0.5867 GB, free: 34.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.5253, allocations: 37.48 kB / 0.5868 GB, free: 34.81 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5254, allocations: 175.9 kB / 0.5869 GB, free: 34.65 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5255, allocations: 210.2 kB / 0.5871 GB, free: 34.46 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.5256, allocations: 69.47 kB / 0.5872 GB, free: 34.42 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.5257, allocations: 360.7 kB / 0.5875 GB, free: 34.07 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.5262, allocations: 410.2 kB / 0.5879 GB, free: 33.71 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.5267, allocations: 0.4971 MB / 0.5884 GB, free: 33.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008731/0.5275, allocations: 0.8741 MB / 0.5893 GB, free: 32.29 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5275, allocations: 4 kB / 0.5893 GB, free: 32.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001121/0.5287, allocations: 1.024 MB / 0.5903 GB, free: 31.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5287, allocations: 4 kB / 0.5903 GB, free: 31.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.5287, allocations: 11.88 kB / 0.5903 GB, free: 31.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5287, allocations: 4 kB / 0.5903 GB, free: 31.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.5295, allocations: 231.7 kB / 0.5905 GB, free: 31.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5296, allocations: 7.938 kB / 0.5905 GB, free: 31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.5299, allocations: 83.59 kB / 0.5906 GB, free: 30.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.5299, allocations: 24 kB / 0.5906 GB, free: 30.9 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.5301, allocations: 229.5 kB / 0.5908 GB, free: 30.66 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.5302, allocations: 35.53 kB / 0.5909 GB, free: 30.63 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/0.5312, allocations: 0.7982 MB / 0.5916 GB, free: 29.82 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5312, allocations: 8 kB / 0.5917 GB, free: 29.82 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5312, allocations: 0 / 0.5917 GB, free: 29.82 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5312, allocations: 3.984 kB / 0.5917 GB, free: 29.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.5318, allocations: 0.5793 MB / 0.5922 GB, free: 29.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5318, allocations: 4 kB / 0.5922 GB, free: 29.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/0.5327, allocations: 207.7 kB / 0.5924 GB, free: 28.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5327, allocations: 0 / 0.5924 GB, free: 28.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.5328, allocations: 35.91 kB / 0.5925 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5328, allocations: 4 kB / 0.5925 GB, free: 28.93 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5328, allocations: 0 / 0.5925 GB, free: 28.93 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.5341, allocations: 1.219 MB / 0.5937 GB, free: 27.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.5343, allocations: 188.5 kB / 0.5938 GB, free: 27.5 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.483e-05/0.5344, allocations: 35.91 kB / 0.5939 GB, free: 27.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.5347, allocations: 39.94 kB / 0.5939 GB, free: 27.42 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.5348, allocations: 32.33 kB / 0.5939 GB, free: 27.39 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.5348, allocations: 15.98 kB / 0.594 GB, free: 27.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001471/0.5349, allocations: 221.9 kB / 0.5942 GB, free: 27.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5349, allocations: 0 / 0.5942 GB, free: 27.16 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003713/0.5353, allocations: 135.8 kB / 0.5943 GB, free: 27.03 MB / 462.3 MB 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 (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.001355/0.5367, allocations: 1.797 MB / 0.596 GB, free: 25.2 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009038/0.5376, allocations: 0.8297 MB / 0.5969 GB, free: 24.38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5376, allocations: 448 / 0.5969 GB, free: 24.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.538, allocations: 370.2 kB / 0.5972 GB, free: 24.02 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.5383, allocations: 32.86 kB / 0.5972 GB, free: 23.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.5449, allocations: 7.478 MB / 0.6045 GB, free: 16.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.5451, allocations: 0.9017 MB / 0.6054 GB, free: 15.44 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0004575/0.5456, allocations: 251 kB / 0.6057 GB, free: 15.2 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5458, allocations: 131.4 kB / 0.6058 GB, free: 15.07 MB / 462.3 MB Notification: Performance of SimCode: time 9.02e-07/0.5459, allocations: 0 / 0.6058 GB, free: 15.07 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.5632, allocations: 9.051 MB / 0.6146 GB, free: 6.25 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.5634, allocations: 260.8 kB / 0.6149 GB, free: 5.992 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.548, allocations: 4 kB / 0.6149 GB, free: 5.988 MB / 462.3 MB (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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches