Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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.001505/0.001505, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001641/0.001641, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.387/1.387, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.9202/0.9202, allocations: 120.6 MB / 435.3 MB, free: 0.625 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.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",fmuType="cs",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.001902/0.001902, allocations: 70.08 kB / 0.6075 GB, free: 10.72 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1515, allocations: 85.86 MB / 0.6913 GB, free: 4.648 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002718/0.1542, allocations: 1.714 MB / 0.693 GB, free: 2.922 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1553, allocations: 0.5615 MB / 0.6935 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.1553, allocations: 3.938 kB / 0.6935 GB, free: 2.352 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.1555, allocations: 19.78 kB / 0.6936 GB, free: 2.332 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1557, allocations: 67.53 kB / 0.6936 GB, free: 2.266 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1559, allocations: 75.83 kB / 0.6937 GB, free: 2.191 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.1564, allocations: 359.6 kB / 0.694 GB, free: 1.836 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.1564, allocations: 13.8 kB / 0.6941 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.1567, allocations: 139.7 kB / 0.6942 GB, free: 1.688 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.1569, allocations: 159.4 kB / 0.6943 GB, free: 1.531 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.157, allocations: 20 kB / 0.6944 GB, free: 1.512 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.157, allocations: 20 kB / 0.6944 GB, free: 1.492 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1571, allocations: 71.8 kB / 0.6944 GB, free: 1.422 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1573, allocations: 95.62 kB / 0.6945 GB, free: 1.328 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1576, allocations: 279.2 kB / 0.6948 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1576, allocations: 0 / 0.6948 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1576, allocations: 0 / 0.6948 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.1576, allocations: 7.938 kB / 0.6948 GB, free: 1.047 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001287/0.1589, allocations: 0.5521 MB / 0.6953 GB, free: 472 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1589, allocations: 8.031 kB / 0.6954 GB, free: 464 kB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.1589, allocations: 4.516 kB / 0.6954 GB, free: 460 kB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.675e-05/0.159, allocations: 54.73 kB / 0.6954 GB, free: 396 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.1591, allocations: 24.8 kB / 0.6954 GB, free: 372 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1594, allocations: 214.6 kB / 0.6956 GB, free: 132 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1594, allocations: 20.64 kB / 0.6957 GB, free: 112 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.1595, allocations: 36.27 kB / 0.6957 GB, free: 76 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.16, allocations: 309.4 kB / 0.696 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.16, allocations: 0 / 0.696 GB, free: 15.76 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1601, allocations: 8 kB / 0.696 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.1601, allocations: 4 kB / 0.696 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.1604, allocations: 235.7 kB / 0.6962 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.1626, allocations: 1.033 MB / 0.6972 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.1635, allocations: 434.5 kB / 0.6977 GB, free: 14 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.1637, allocations: 168.7 kB / 0.6978 GB, free: 13.83 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1638, allocations: 7.938 kB / 0.6978 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1638, allocations: 34.56 kB / 0.6979 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=23): time 2.404e-06/0.1638, allocations: 0 / 0.6979 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of matching and sorting (n=23): time 0.0007806/0.1646, allocations: 473.1 kB / 0.6983 GB, free: 13.31 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1646, allocations: 59.27 kB / 0.6984 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.1648, allocations: 219.1 kB / 0.6986 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.1649, allocations: 29.7 kB / 0.6986 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.165, allocations: 144.5 kB / 0.6987 GB, free: 12.84 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.165, allocations: 91.17 kB / 0.6988 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.1652, allocations: 69.7 kB / 0.6989 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1653, allocations: 334.8 kB / 0.6992 GB, free: 12.34 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1656, allocations: 195.6 kB / 0.6994 GB, free: 12.15 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.1659, allocations: 236.1 kB / 0.6996 GB, free: 11.9 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.1665, allocations: 420.3 kB / 0.7 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1665, allocations: 4 kB / 0.7 GB, free: 11.47 MB / 0.5295 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007309/0.1672, allocations: 0.5084 MB / 0.7005 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1672, allocations: 8 kB / 0.7005 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1672, allocations: 0 / 0.7005 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1672, allocations: 4 kB / 0.7005 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.1678, allocations: 111.9 kB / 0.7006 GB, free: 10.84 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.1678, allocations: 0 / 0.7006 GB, free: 10.84 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.168, allocations: 43.75 kB / 0.7007 GB, free: 10.79 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.168, allocations: 12 kB / 0.7007 GB, free: 10.78 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (41): * Single equations (assignments): 41 * 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.0001706/0.1682, allocations: 173.8 kB / 0.7009 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.1682, allocations: 23.8 kB / 0.7009 GB, free: 10.58 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.1683, allocations: 33.97 kB / 0.7009 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1683, allocations: 4 kB / 0.7009 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1683, allocations: 0 / 0.7009 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1683, allocations: 3.984 kB / 0.7009 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.1687, allocations: 300.4 kB / 0.7012 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1687, allocations: 0 / 0.7012 GB, free: 10.2 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/0.1693, allocations: 99.86 kB / 0.7013 GB, free: 10.1 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.1693, allocations: 11.94 kB / 0.7013 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.1693, allocations: 11.98 kB / 0.7013 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1693, allocations: 0 / 0.7013 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1693, allocations: 4 kB / 0.7013 GB, free: 10.07 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.1701, allocations: 0.6165 MB / 0.7019 GB, free: 9.441 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1702, allocations: 55.81 kB / 0.702 GB, free: 9.387 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.1703, allocations: 11.98 kB / 0.702 GB, free: 9.375 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1705, allocations: 19.97 kB / 0.702 GB, free: 9.355 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1705, allocations: 15.97 kB / 0.702 GB, free: 9.34 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1705, allocations: 8 kB / 0.702 GB, free: 9.332 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001488/0.1707, allocations: 155.2 kB / 0.7022 GB, free: 9.18 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1707, allocations: 4 kB / 0.7022 GB, free: 9.176 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0004141/0.1711, allocations: 63.95 kB / 0.7023 GB, free: 9.113 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * 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 (23): * Single equations (assignments): 23 * 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.001124/0.1722, allocations: 1.165 MB / 0.7034 GB, free: 7.93 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0006073/0.1728, allocations: 382.3 kB / 0.7038 GB, free: 7.559 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1728, allocations: 0 / 0.7038 GB, free: 7.559 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.1731, allocations: 155.8 kB / 0.7039 GB, free: 7.406 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.1733, allocations: 12.25 kB / 0.7039 GB, free: 7.395 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.1781, allocations: 4.009 MB / 0.7078 GB, free: 3.281 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.1782, allocations: 189.4 kB / 0.708 GB, free: 3.078 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.1785, allocations: 109.8 kB / 0.7081 GB, free: 2.965 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.1786, allocations: 59.42 kB / 0.7082 GB, free: 2.906 MB / 0.5295 GB Notification: Performance of SimCode: time 5.41e-07/0.1786, allocations: 0 / 0.7082 GB, free: 2.906 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.2066, allocations: 5.381 MB / 0.7134 GB, free: 13.71 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.27, allocations: 21.25 kB / 0.7134 GB, free: 13.7 MB / 0.5452 GB " [Timeout remaining time 289] (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad_fmu --startTime=0 --stopTime=500 --stepSize=0.05 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.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: 15.423376487917267]