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.001557/0.001557, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00143/0.00143, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.36/1.36, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.935/0.935, allocations: 120.6 MB / 435.3 MB, free: 0.8359 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.001838/0.001838, allocations: 63.91 kB / 0.6075 GB, free: 10.93 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 85.88 MB / 0.6914 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.00298/0.1525, allocations: 1.823 MB / 0.6932 GB, free: 3.012 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1537, allocations: 0.6003 MB / 0.6938 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.1537, allocations: 0 / 0.6938 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.1539, allocations: 27.7 kB / 0.6938 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1541, allocations: 67.55 kB / 0.6939 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1544, allocations: 75.88 kB / 0.6939 GB, free: 2.238 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.1548, allocations: 359.6 kB / 0.6943 GB, free: 1.883 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.1548, allocations: 5.812 kB / 0.6943 GB, free: 1.879 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.1551, allocations: 151.6 kB / 0.6944 GB, free: 1.73 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1554, allocations: 147.5 kB / 0.6946 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.1554, allocations: 20 kB / 0.6946 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 4.47e-05/0.1555, allocations: 20 kB / 0.6946 GB, free: 1.547 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1556, allocations: 79.73 kB / 0.6947 GB, free: 1.469 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1557, allocations: 123.4 kB / 0.6948 GB, free: 1.348 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.156, allocations: 271.2 kB / 0.6951 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.156, allocations: 0 / 0.6951 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.543e-06/0.156, allocations: 0 / 0.6951 GB, free: 1.082 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.156, allocations: 0 / 0.6951 GB, free: 1.082 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.001294/0.1573, allocations: 0.5561 MB / 0.6956 GB, free: 0.4922 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1574, allocations: 8.031 kB / 0.6956 GB, free: 496 kB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.667e-05/0.1574, allocations: 4.516 kB / 0.6956 GB, free: 492 kB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.1575, allocations: 58.72 kB / 0.6957 GB, free: 424 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.1575, allocations: 24.8 kB / 0.6957 GB, free: 400 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1579, allocations: 218.6 kB / 0.6959 GB, free: 156 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1579, allocations: 12.7 kB / 0.6959 GB, free: 144 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.158, allocations: 40.25 kB / 0.6959 GB, free: 104 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.1585, allocations: 301.4 kB / 0.6962 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1585, allocations: 4 kB / 0.6962 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1585, allocations: 4 kB / 0.6962 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.1585, allocations: 12 kB / 0.6963 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.1589, allocations: 235.8 kB / 0.6965 GB, free: 15.54 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.161, allocations: 1.068 MB / 0.6975 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.1619, allocations: 438.6 kB / 0.6979 GB, free: 13.99 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.1621, allocations: 164.7 kB / 0.6981 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1622, allocations: 0 / 0.6981 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1622, allocations: 38.56 kB / 0.6981 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=23): time 1.012e-06/0.1622, allocations: 0 / 0.6981 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of matching and sorting (n=23): time 0.0007581/0.1629, allocations: 475.2 kB / 0.6986 GB, free: 13.3 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.163, allocations: 59.27 kB / 0.6986 GB, free: 13.23 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1632, allocations: 215.1 kB / 0.6988 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1632, allocations: 33.7 kB / 0.6989 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.1633, allocations: 136.5 kB / 0.699 GB, free: 12.84 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.1634, allocations: 91.23 kB / 0.6991 GB, free: 12.75 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1635, allocations: 69.69 kB / 0.6992 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1637, allocations: 334.8 kB / 0.6995 GB, free: 12.34 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.164, allocations: 199.6 kB / 0.6997 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.1643, allocations: 240.1 kB / 0.6999 GB, free: 11.89 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.1648, allocations: 428.3 kB / 0.7003 GB, free: 11.46 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1648, allocations: 0 / 0.7003 GB, free: 11.46 MB / 0.5295 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007313/0.1656, allocations: 0.5046 MB / 0.7008 GB, free: 10.95 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1656, allocations: 8 kB / 0.7008 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1656, allocations: 0 / 0.7008 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1656, allocations: 7.984 kB / 0.7008 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.1661, allocations: 107.8 kB / 0.7009 GB, free: 10.83 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1661, allocations: 7.938 kB / 0.7009 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.1663, allocations: 43.88 kB / 0.701 GB, free: 10.78 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.1663, allocations: 16 kB / 0.701 GB, free: 10.76 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.0001584/0.1664, allocations: 157.7 kB / 0.7011 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1665, allocations: 27.8 kB / 0.7012 GB, free: 10.57 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1666, allocations: 37.97 kB / 0.7012 GB, free: 10.53 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1666, allocations: 4 kB / 0.7012 GB, free: 10.53 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1666, allocations: 3.984 kB / 0.7012 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1666, allocations: 0 / 0.7012 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.167, allocations: 328.3 kB / 0.7015 GB, free: 10.16 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.167, allocations: 0 / 0.7015 GB, free: 10.16 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.1676, allocations: 99.92 kB / 0.7016 GB, free: 10.06 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1676, allocations: 3.938 kB / 0.7016 GB, free: 10.06 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.1676, allocations: 15.98 kB / 0.7016 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1676, allocations: 0 / 0.7016 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1676, allocations: 0 / 0.7016 GB, free: 10.04 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.1684, allocations: 0.6162 MB / 0.7022 GB, free: 9.414 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1686, allocations: 55.81 kB / 0.7023 GB, free: 9.359 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.1686, allocations: 15.98 kB / 0.7023 GB, free: 9.344 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.1688, allocations: 23.97 kB / 0.7023 GB, free: 9.32 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1688, allocations: 11.97 kB / 0.7023 GB, free: 9.309 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1689, allocations: 12 kB / 0.7023 GB, free: 9.297 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001446/0.169, allocations: 159.2 kB / 0.7025 GB, free: 9.141 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.169, allocations: 0 / 0.7025 GB, free: 9.141 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0003088/0.1693, allocations: 63.95 kB / 0.7026 GB, free: 9.078 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.001121/0.1704, allocations: 1.168 MB / 0.7037 GB, free: 7.887 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000589/0.171, allocations: 374.3 kB / 0.7041 GB, free: 7.523 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.171, allocations: 0 / 0.7041 GB, free: 7.523 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.1713, allocations: 159.8 kB / 0.7042 GB, free: 7.367 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.1715, allocations: 17.88 kB / 0.7042 GB, free: 7.352 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.1764, allocations: 4.001 MB / 0.7081 GB, free: 3.246 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.1768, allocations: 0.7947 MB / 0.7089 GB, free: 2.426 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.1771, allocations: 109.8 kB / 0.709 GB, free: 2.316 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.1772, allocations: 67.34 kB / 0.7091 GB, free: 2.25 MB / 0.5295 GB Notification: Performance of SimCode: time 4.91e-07/0.1772, allocations: 0 / 0.7091 GB, free: 2.25 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.2059, allocations: 5.505 MB / 0.7145 GB, free: 12.92 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.18, allocations: 11.62 kB / 0.7145 GB, free: 12.91 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.357287833932787]