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.001277/0.001277, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00144/0.00144, allocations: 215.3 kB / 23.73 MB, free: 4.156 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.33/1.33, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] 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.9359/0.9359, allocations: 120.6 MB / 434.5 MB, free: 0.6211 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.001885/0.001885, allocations: 67.91 kB / 0.6067 GB, free: 10.73 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1511, allocations: 85.87 MB / 0.6906 GB, free: 4.648 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.00278/0.1539, allocations: 1.725 MB / 0.6922 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1549, allocations: 0.5536 MB / 0.6928 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.1549, allocations: 0 / 0.6928 GB, free: 2.355 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1551, allocations: 27.72 kB / 0.6928 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.1553, allocations: 75.52 kB / 0.6929 GB, free: 2.254 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.1555, allocations: 71.88 kB / 0.6929 GB, free: 2.184 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.1559, allocations: 355.6 kB / 0.6933 GB, free: 1.832 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.156, allocations: 9.812 kB / 0.6933 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.1562, allocations: 155.5 kB / 0.6934 GB, free: 1.672 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.1565, allocations: 159.5 kB / 0.6936 GB, free: 1.516 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.1565, allocations: 20 kB / 0.6936 GB, free: 1.496 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.1566, allocations: 20 kB / 0.6936 GB, free: 1.477 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.1567, allocations: 75.78 kB / 0.6937 GB, free: 1.402 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1568, allocations: 99.56 kB / 0.6938 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.1571, allocations: 275.2 kB / 0.6941 GB, free: 1.035 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1571, allocations: 0 / 0.6941 GB, free: 1.035 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1571, allocations: 4 kB / 0.6941 GB, free: 1.031 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1571, allocations: 0 / 0.6941 GB, free: 1.031 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.001157/0.1582, allocations: 0.5599 MB / 0.6946 GB, free: 448 kB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1583, allocations: 8.031 kB / 0.6946 GB, free: 440 kB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.1583, allocations: 50.73 kB / 0.6947 GB, free: 380 kB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.1584, allocations: 24.8 kB / 0.6947 GB, free: 356 kB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1587, allocations: 218.6 kB / 0.6949 GB, free: 112 kB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.1587, allocations: 12.7 kB / 0.6949 GB, free: 100 kB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.1589, allocations: 36.5 kB / 0.6949 GB, free: 64 kB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.1593, allocations: 313.3 kB / 0.6952 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1593, allocations: 0 / 0.6952 GB, free: 15.75 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1593, allocations: 7.938 kB / 0.6953 GB, free: 15.74 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1594, allocations: 8 kB / 0.6953 GB, free: 15.73 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.1597, allocations: 235.8 kB / 0.6955 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.1617, allocations: 1.021 MB / 0.6965 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.1626, allocations: 430.5 kB / 0.6969 GB, free: 14 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1628, allocations: 173.3 kB / 0.6971 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1629, allocations: 3.938 kB / 0.6971 GB, free: 13.82 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1629, allocations: 34.56 kB / 0.6971 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.1629, allocations: 0 / 0.6971 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of matching and sorting (n=23): time 0.0007528/0.1636, allocations: 471.2 kB / 0.6975 GB, free: 13.31 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1637, allocations: 59.27 kB / 0.6976 GB, free: 13.24 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1639, allocations: 219.1 kB / 0.6978 GB, free: 13.02 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.1639, allocations: 33.7 kB / 0.6978 GB, free: 12.98 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.164, allocations: 132.5 kB / 0.698 GB, free: 12.84 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.1641, allocations: 103.2 kB / 0.6981 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1642, allocations: 77.69 kB / 0.6981 GB, free: 12.66 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1644, allocations: 330.8 kB / 0.6985 GB, free: 12.33 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.1646, allocations: 203.6 kB / 0.6987 GB, free: 12.13 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.165, allocations: 236.1 kB / 0.6989 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.1655, allocations: 420.3 kB / 0.6993 GB, free: 11.46 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1655, allocations: 0 / 0.6993 GB, free: 11.46 MB / 0.5295 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007136/0.1662, allocations: 0.5085 MB / 0.6998 GB, free: 10.94 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1662, allocations: 11.98 kB / 0.6998 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1662, allocations: 0 / 0.6998 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1663, allocations: 4 kB / 0.6998 GB, free: 10.93 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.1667, allocations: 107.9 kB / 0.6999 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1667, allocations: 4 kB / 0.6999 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.1669, allocations: 39.8 kB / 0.6999 GB, free: 10.78 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.1669, allocations: 12 kB / 0.6999 GB, free: 10.77 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.0001577/0.1671, allocations: 169.6 kB / 0.7001 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1671, allocations: 27.86 kB / 0.7001 GB, free: 10.56 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.1672, allocations: 41.95 kB / 0.7002 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1672, allocations: 4 kB / 0.7002 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1672, allocations: 0 / 0.7002 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1672, allocations: 0 / 0.7002 GB, free: 10.52 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.1676, allocations: 296.5 kB / 0.7005 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1676, allocations: 3.938 kB / 0.7005 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.1681, allocations: 99.86 kB / 0.7006 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1681, allocations: 0 / 0.7006 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1682, allocations: 15.98 kB / 0.7006 GB, free: 10.07 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1682, allocations: 0 / 0.7006 GB, free: 10.07 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1682, allocations: 4 kB / 0.7006 GB, free: 10.06 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.1689, allocations: 0.6162 MB / 0.7012 GB, free: 9.434 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.1691, allocations: 55.77 kB / 0.7012 GB, free: 9.379 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.1691, allocations: 15.98 kB / 0.7012 GB, free: 9.363 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1693, allocations: 19.97 kB / 0.7013 GB, free: 9.344 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1693, allocations: 11.97 kB / 0.7013 GB, free: 9.332 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.1694, allocations: 8 kB / 0.7013 GB, free: 9.324 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001376/0.1695, allocations: 155.2 kB / 0.7014 GB, free: 9.172 MB / 0.5295 GB Notification: Performance of sort global known variables: time 6e-08/0.1695, allocations: 0 / 0.7014 GB, free: 9.172 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002916/0.1698, allocations: 67.89 kB / 0.7015 GB, free: 9.105 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.001083/0.1709, allocations: 1.171 MB / 0.7026 GB, free: 7.91 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0005843/0.1715, allocations: 375.4 kB / 0.703 GB, free: 7.543 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1715, allocations: 0 / 0.703 GB, free: 7.543 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.1717, allocations: 162.7 kB / 0.7032 GB, free: 7.387 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.1719, allocations: 16 kB / 0.7032 GB, free: 7.371 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.1765, allocations: 3.997 MB / 0.7071 GB, free: 3.266 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.1767, allocations: 189.5 kB / 0.7073 GB, free: 3.062 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.1769, allocations: 113.8 kB / 0.7074 GB, free: 2.945 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1771, allocations: 59.41 kB / 0.7074 GB, free: 2.887 MB / 0.5295 GB Notification: Performance of SimCode: time 3.9e-07/0.1771, allocations: 0 / 0.7074 GB, free: 2.887 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.2122, allocations: 5.637 MB / 0.7129 GB, free: 13.43 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.09, allocations: 3.938 kB / 0.7129 GB, free: 13.42 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: 14.984676444903016]