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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 111.9 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 257.5 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9637/0.9637, allocations: 120.6 MB / 434.5 MB, free: 0.8594 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 66.41 kB / 0.6068 GB, free: 10.94 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.153, allocations: 85.86 MB / 0.6906 GB, free: 4.867 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.003211/0.1562, allocations: 1.831 MB / 0.6924 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1574, allocations: 0.6003 MB / 0.693 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.1575, allocations: 0 / 0.693 GB, free: 2.418 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1577, allocations: 27.72 kB / 0.693 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1579, allocations: 71.52 kB / 0.6931 GB, free: 2.32 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1582, allocations: 79.81 kB / 0.6932 GB, free: 2.242 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0008218/0.1591, allocations: 0.6519 MB / 0.6938 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.1591, allocations: 20.92 kB / 0.6938 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004755/0.1596, allocations: 271.3 kB / 0.6941 GB, free: 1.301 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/0.1602, allocations: 279.1 kB / 0.6944 GB, free: 1.027 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1603, allocations: 43.98 kB / 0.6944 GB, free: 0.9844 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.1604, allocations: 40 kB / 0.6944 GB, free: 0.9453 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1606, allocations: 147.6 kB / 0.6946 GB, free: 0.8008 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.1609, allocations: 215 kB / 0.6948 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.1615, allocations: 0.5335 MB / 0.6953 GB, free: 56 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1615, allocations: 4 kB / 0.6953 GB, free: 52 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1615, allocations: 0 / 0.6953 GB, free: 52 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.1615, allocations: 0 / 0.6953 GB, free: 52 kB / 0.5139 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.002332/0.1639, allocations: 0.8834 MB / 0.6962 GB, free: 15.13 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1639, allocations: 12.03 kB / 0.6962 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.445e-05/0.164, allocations: 70.72 kB / 0.6962 GB, free: 15.04 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.1641, allocations: 44.7 kB / 0.6963 GB, free: 15 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.1647, allocations: 316.8 kB / 0.6966 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1648, allocations: 29.03 kB / 0.6966 GB, free: 14.64 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.165, allocations: 72.42 kB / 0.6967 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/0.1659, allocations: 0.5212 MB / 0.6972 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1659, allocations: 8 kB / 0.6972 GB, free: 14.03 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.1659, allocations: 12 kB / 0.6972 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.1659, allocations: 12.66 kB / 0.6972 GB, free: 14 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.1668, allocations: 0.506 MB / 0.6977 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/0.1704, allocations: 1.564 MB / 0.6993 GB, free: 11.89 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.172, allocations: 0.8524 MB / 0.7001 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.1725, allocations: 367.4 kB / 0.7004 GB, free: 10.66 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/0.1726, allocations: 4.438 kB / 0.7004 GB, free: 10.66 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.1727, allocations: 50.92 kB / 0.7005 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.1727, allocations: 0 / 0.7005 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of matching and sorting (n=52): time 0.001663/0.1743, allocations: 0.9885 MB / 0.7015 GB, free: 9.613 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1744, allocations: 63.78 kB / 0.7015 GB, free: 9.539 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1747, allocations: 305.8 kB / 0.7018 GB, free: 9.23 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.1748, allocations: 45.64 kB / 0.7018 GB, free: 9.18 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1749, allocations: 181 kB / 0.702 GB, free: 9 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.1752, allocations: 214.2 kB / 0.7022 GB, free: 8.789 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.1754, allocations: 138.7 kB / 0.7024 GB, free: 8.645 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1755, allocations: 354.8 kB / 0.7027 GB, free: 8.289 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.1762, allocations: 409.6 kB / 0.7031 GB, free: 7.891 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.1769, allocations: 0.4971 MB / 0.7036 GB, free: 7.371 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.1782, allocations: 0.8702 MB / 0.7044 GB, free: 6.477 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1782, allocations: 0 / 0.7044 GB, free: 6.477 MB / 0.5295 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001623/0.1798, allocations: 1.035 MB / 0.7054 GB, free: 5.434 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1798, allocations: 8 kB / 0.7054 GB, free: 5.426 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1798, allocations: 3.938 kB / 0.7054 GB, free: 5.422 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1799, allocations: 8 kB / 0.7055 GB, free: 5.414 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.1808, allocations: 227.6 kB / 0.7057 GB, free: 5.191 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.332e-05/0.1809, allocations: 4 kB / 0.7057 GB, free: 5.188 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.1813, allocations: 95.72 kB / 0.7058 GB, free: 5.094 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.1813, allocations: 24 kB / 0.7058 GB, free: 5.07 MB / 0.5295 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 () * 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.0002978/0.1816, allocations: 221.6 kB / 0.706 GB, free: 4.844 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.265e-05/0.1817, allocations: 31.81 kB / 0.706 GB, free: 4.812 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1831, allocations: 0.8099 MB / 0.7068 GB, free: 3.996 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.1831, allocations: 8 kB / 0.7068 GB, free: 3.988 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1831, allocations: 0 / 0.7068 GB, free: 3.988 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1831, allocations: 3.984 kB / 0.7068 GB, free: 3.984 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.1839, allocations: 0.5474 MB / 0.7074 GB, free: 3.395 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1839, allocations: 4 kB / 0.7074 GB, free: 3.391 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.185, allocations: 203.8 kB / 0.7076 GB, free: 3.191 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.185, allocations: 4 kB / 0.7076 GB, free: 3.188 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/0.1851, allocations: 27.92 kB / 0.7076 GB, free: 3.16 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.1851, allocations: 3.938 kB / 0.7076 GB, free: 3.156 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1851, allocations: 0 / 0.7076 GB, free: 3.156 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.1869, allocations: 1.227 MB / 0.7088 GB, free: 1.906 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002992/0.1872, allocations: 123.6 kB / 0.7089 GB, free: 1.785 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-05/0.1873, allocations: 31.92 kB / 0.7089 GB, free: 1.754 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.1876, allocations: 51.92 kB / 0.709 GB, free: 1.703 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1877, allocations: 28.38 kB / 0.709 GB, free: 1.676 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.1878, allocations: 16 kB / 0.709 GB, free: 1.66 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002373/0.188, allocations: 225.2 kB / 0.7093 GB, free: 1.441 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.188, allocations: 0 / 0.7093 GB, free: 1.441 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0004438/0.1885, allocations: 131.9 kB / 0.7094 GB, free: 1.312 MB / 0.5295 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 () * 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.002146/0.1906, allocations: 1.805 MB / 0.7111 GB, free: 15.48 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.192, allocations: 0.7946 MB / 0.7119 GB, free: 14.69 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.192, allocations: 448 / 0.7119 GB, free: 14.69 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.1925, allocations: 370.2 kB / 0.7123 GB, free: 14.33 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1929, allocations: 20.98 kB / 0.7123 GB, free: 14.31 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/0.2024, allocations: 6.972 MB / 0.7191 GB, free: 7.203 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/0.203, allocations: 0.9052 MB / 0.72 GB, free: 6.273 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0005575/0.2035, allocations: 247 kB / 0.7202 GB, free: 6.035 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.2038, allocations: 127.4 kB / 0.7203 GB, free: 5.91 MB / 0.5452 GB Notification: Performance of SimCode: time 6.21e-07/0.2038, allocations: 0 / 0.7203 GB, free: 5.91 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.2479, allocations: 10.22 MB / 0.7303 GB, free: 11.86 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.17, allocations: 11.92 kB / 0.7303 GB, free: 11.85 MB / 0.5608 GB " [Timeout remaining time 288] (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/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad_fmu --startTime=0 --stopTime=200 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.129162889905274]