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.001608/0.001608, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001997/0.001997, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.374/1.374, allocations: 230.6 MB / 257.5 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.9793/0.9793, allocations: 120.6 MB / 434.5 MB, free: 0.8633 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad",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.001935/0.001935, allocations: 63.91 kB / 0.6068 GB, free: 10.94 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1614, allocations: 85.86 MB / 0.6906 GB, free: 4.867 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.003272/0.1647, allocations: 1.823 MB / 0.6924 GB, free: 3.031 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1661, allocations: 0.5964 MB / 0.693 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1662, allocations: 0 / 0.693 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1664, allocations: 39.7 kB / 0.693 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.1667, allocations: 67.53 kB / 0.6931 GB, free: 2.324 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.167, allocations: 75.88 kB / 0.6932 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.1675, allocations: 347.7 kB / 0.6935 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.1675, allocations: 13.75 kB / 0.6935 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.1679, allocations: 151.6 kB / 0.6936 GB, free: 1.746 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.1682, allocations: 151.5 kB / 0.6938 GB, free: 1.598 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.1683, allocations: 20 kB / 0.6938 GB, free: 1.578 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.211e-05/0.1684, allocations: 20 kB / 0.6938 GB, free: 1.559 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1685, allocations: 75.78 kB / 0.6939 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.1686, allocations: 115.4 kB / 0.694 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.169, allocations: 275.2 kB / 0.6943 GB, free: 1.102 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.169, allocations: 0 / 0.6943 GB, free: 1.102 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.222e-06/0.169, allocations: 0 / 0.6943 GB, free: 1.102 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.951e-05/0.169, allocations: 0 / 0.6943 GB, free: 1.102 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.001373/0.1704, allocations: 0.5561 MB / 0.6948 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1704, allocations: 8.031 kB / 0.6948 GB, free: 0.5039 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.1705, allocations: 58.73 kB / 0.6949 GB, free: 448 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.1705, allocations: 28.73 kB / 0.6949 GB, free: 420 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003949/0.1709, allocations: 210.7 kB / 0.6951 GB, free: 184 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1709, allocations: 16.7 kB / 0.6951 GB, free: 168 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1711, allocations: 36.5 kB / 0.6952 GB, free: 132 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.1716, allocations: 317.2 kB / 0.6955 GB, free: 15.81 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1716, allocations: 3.938 kB / 0.6955 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1716, allocations: 4 kB / 0.6955 GB, free: 15.8 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.1717, allocations: 8 kB / 0.6955 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.172, allocations: 227.8 kB / 0.6957 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.1742, allocations: 1.068 MB / 0.6967 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/0.1752, allocations: 434.5 kB / 0.6972 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.1754, allocations: 160.7 kB / 0.6973 GB, free: 13.86 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1755, allocations: 7.938 kB / 0.6973 GB, free: 13.85 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1755, allocations: 34.56 kB / 0.6973 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.1755, allocations: 0 / 0.6973 GB, free: 13.8 MB / 0.5295 GB Notification: Performance of matching and sorting (n=23): time 0.0007869/0.1763, allocations: 477.2 kB / 0.6978 GB, free: 13.33 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1763, allocations: 55.27 kB / 0.6979 GB, free: 13.27 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.1766, allocations: 223.1 kB / 0.6981 GB, free: 13.04 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.1766, allocations: 33.69 kB / 0.6981 GB, free: 13 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1767, allocations: 128.5 kB / 0.6982 GB, free: 12.87 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/0.1768, allocations: 99.22 kB / 0.6983 GB, free: 12.77 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1769, allocations: 73.69 kB / 0.6984 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1771, allocations: 338.8 kB / 0.6987 GB, free: 12.36 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.1773, allocations: 195.6 kB / 0.6989 GB, free: 12.16 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.1777, allocations: 236.1 kB / 0.6991 GB, free: 11.92 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.1783, allocations: 420.3 kB / 0.6995 GB, free: 11.49 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1783, allocations: 7.875 kB / 0.6995 GB, free: 11.48 MB / 0.5295 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000761/0.1791, allocations: 0.5085 MB / 0.7 GB, free: 10.97 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.1791, allocations: 4 kB / 0.7 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1791, allocations: 0 / 0.7 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.1791, allocations: 4 kB / 0.7 GB, free: 10.96 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.1796, allocations: 116 kB / 0.7001 GB, free: 10.85 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1796, allocations: 3.938 kB / 0.7002 GB, free: 10.84 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1798, allocations: 47.73 kB / 0.7002 GB, free: 10.8 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.1798, allocations: 12 kB / 0.7002 GB, free: 10.79 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.0001809/0.18, allocations: 161.7 kB / 0.7004 GB, free: 10.62 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1801, allocations: 23.8 kB / 0.7004 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.1802, allocations: 37.95 kB / 0.7004 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1802, allocations: 4 kB / 0.7004 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1802, allocations: 0 / 0.7004 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1802, allocations: 7.938 kB / 0.7004 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.1806, allocations: 324.4 kB / 0.7007 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1806, allocations: 3.938 kB / 0.7007 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.1811, allocations: 91.92 kB / 0.7008 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1811, allocations: 4 kB / 0.7008 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.1812, allocations: 15.92 kB / 0.7009 GB, free: 10.07 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.1812, allocations: 4 kB / 0.7009 GB, free: 10.07 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1812, allocations: 4 kB / 0.7009 GB, free: 10.06 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.182, allocations: 0.6127 MB / 0.7015 GB, free: 9.434 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.1822, allocations: 59.75 kB / 0.7015 GB, free: 9.375 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.1822, allocations: 15.98 kB / 0.7015 GB, free: 9.359 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1824, allocations: 11.98 kB / 0.7015 GB, free: 9.348 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1825, allocations: 15.97 kB / 0.7016 GB, free: 9.332 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1825, allocations: 4 kB / 0.7016 GB, free: 9.328 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001481/0.1826, allocations: 159.2 kB / 0.7017 GB, free: 9.172 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1826, allocations: 0 / 0.7017 GB, free: 9.172 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000315/0.1829, allocations: 63.95 kB / 0.7018 GB, free: 9.109 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.001157/0.1841, allocations: 1.171 MB / 0.7029 GB, free: 7.918 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0006178/0.1847, allocations: 379.4 kB / 0.7033 GB, free: 7.547 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1847, allocations: 256 / 0.7033 GB, free: 7.547 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.1849, allocations: 159.8 kB / 0.7034 GB, free: 7.391 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1852, allocations: 12 kB / 0.7034 GB, free: 7.379 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.1903, allocations: 4.003 MB / 0.7074 GB, free: 3.273 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.1908, allocations: 0.7947 MB / 0.7081 GB, free: 2.453 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.191, allocations: 113.8 kB / 0.7082 GB, free: 2.34 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.1912, allocations: 67.41 kB / 0.7083 GB, free: 2.273 MB / 0.5295 GB Notification: Performance of SimCode: time 8.62e-07/0.1912, allocations: 0 / 0.7083 GB, free: 2.273 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/0.2309, allocations: 5.486 MB / 0.7137 GB, free: 12.95 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.34, allocations: 17.95 kB / 0.7137 GB, free: 12.94 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.466898384969682]