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.001306/0.001306, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001353/0.001353, allocations: 205.2 kB / 24.52 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.365/1.365, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.8993/0.8993, allocations: 120.6 MB / 435.3 MB, free: 0.8203 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.001883/0.001883, allocations: 67.89 kB / 0.6075 GB, free: 10.9 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1383, allocations: 85.87 MB / 0.6914 GB, free: 4.82 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002688/0.141, allocations: 1.827 MB / 0.6932 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1421, allocations: 0.6003 MB / 0.6938 GB, free: 2.375 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.1422, allocations: 3.938 kB / 0.6938 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.1423, allocations: 23.77 kB / 0.6938 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1425, allocations: 75.53 kB / 0.6939 GB, free: 2.273 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1427, allocations: 67.83 kB / 0.6939 GB, free: 2.207 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0006817/0.1434, allocations: 0.6636 MB / 0.6946 GB, free: 1.539 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.1435, allocations: 16.94 kB / 0.6946 GB, free: 1.523 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.1438, allocations: 267.4 kB / 0.6948 GB, free: 1.262 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004193/0.1442, allocations: 279.1 kB / 0.6951 GB, free: 0.9883 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.1443, allocations: 40 kB / 0.6952 GB, free: 0.9492 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.1444, allocations: 40 kB / 0.6952 GB, free: 0.9102 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.1446, allocations: 155.6 kB / 0.6953 GB, free: 0.7578 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.1448, allocations: 219 kB / 0.6955 GB, free: 0.543 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.1453, allocations: 0.5335 MB / 0.6961 GB, free: 8 kB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1453, allocations: 0 / 0.6961 GB, free: 8 kB / 0.5139 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1453, allocations: 0 / 0.6961 GB, free: 8 kB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.1453, allocations: 0 / 0.6961 GB, free: 8 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.002087/0.1474, allocations: 0.8833 MB / 0.6969 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1475, allocations: 8.031 kB / 0.6969 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.202e-05/0.1475, allocations: 16.84 kB / 0.697 GB, free: 15.07 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.056e-05/0.1476, allocations: 74.66 kB / 0.697 GB, free: 14.99 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.1477, allocations: 44.7 kB / 0.6971 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.1482, allocations: 320.8 kB / 0.6974 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.1483, allocations: 33.03 kB / 0.6974 GB, free: 14.57 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.1485, allocations: 64.25 kB / 0.6975 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.1493, allocations: 0.5251 MB / 0.698 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1493, allocations: 0 / 0.698 GB, free: 13.98 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.1493, allocations: 16 kB / 0.698 GB, free: 13.96 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.1494, allocations: 12.66 kB / 0.698 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/0.1501, allocations: 0.506 MB / 0.6985 GB, free: 13.44 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003317/0.1534, allocations: 1.556 MB / 0.7 GB, free: 11.84 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.155, allocations: 0.8524 MB / 0.7009 GB, free: 10.98 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.1555, allocations: 375.1 kB / 0.7012 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1555, allocations: 8.438 kB / 0.7012 GB, free: 10.6 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1556, allocations: 39 kB / 0.7013 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=52): time 1.753e-06/0.1556, allocations: 0 / 0.7013 GB, free: 10.55 MB / 0.5295 GB Notification: Performance of matching and sorting (n=52): time 0.001537/0.1571, allocations: 0.9924 MB / 0.7022 GB, free: 9.559 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1571, allocations: 59.84 kB / 0.7023 GB, free: 9.488 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.1575, allocations: 313.8 kB / 0.7026 GB, free: 9.176 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.1575, allocations: 37.7 kB / 0.7026 GB, free: 9.133 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1577, allocations: 177 kB / 0.7028 GB, free: 8.957 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1579, allocations: 230.1 kB / 0.703 GB, free: 8.73 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.1581, allocations: 130.7 kB / 0.7031 GB, free: 8.594 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1582, allocations: 354.8 kB / 0.7035 GB, free: 8.238 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.1588, allocations: 413.6 kB / 0.7039 GB, free: 7.836 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/0.1595, allocations: 0.4933 MB / 0.7043 GB, free: 7.32 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.1607, allocations: 0.878 MB / 0.7052 GB, free: 6.418 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1607, allocations: 4 kB / 0.7052 GB, free: 6.414 MB / 0.5295 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001507/0.1622, allocations: 1.024 MB / 0.7062 GB, free: 5.383 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.1622, allocations: 15.92 kB / 0.7062 GB, free: 5.367 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1622, allocations: 0 / 0.7062 GB, free: 5.367 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1622, allocations: 8 kB / 0.7062 GB, free: 5.359 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/0.1631, allocations: 223.7 kB / 0.7064 GB, free: 5.141 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.1631, allocations: 7.984 kB / 0.7064 GB, free: 5.133 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.1635, allocations: 95.73 kB / 0.7065 GB, free: 5.039 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.1636, allocations: 20 kB / 0.7066 GB, free: 5.02 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.0002516/0.1638, allocations: 221.6 kB / 0.7068 GB, free: 4.793 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.1639, allocations: 39.73 kB / 0.7068 GB, free: 4.754 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.1652, allocations: 0.8061 MB / 0.7076 GB, free: 3.941 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1652, allocations: 4 kB / 0.7076 GB, free: 3.938 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1652, allocations: 3.938 kB / 0.7076 GB, free: 3.934 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1652, allocations: 3.984 kB / 0.7076 GB, free: 3.93 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.1659, allocations: 0.5434 MB / 0.7081 GB, free: 3.344 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1659, allocations: 3.984 kB / 0.7081 GB, free: 3.34 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.1669, allocations: 203.8 kB / 0.7083 GB, free: 3.141 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.1669, allocations: 7.938 kB / 0.7083 GB, free: 3.133 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.167, allocations: 35.91 kB / 0.7084 GB, free: 3.098 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.167, allocations: 0 / 0.7084 GB, free: 3.098 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.167, allocations: 7.984 kB / 0.7084 GB, free: 3.09 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.1686, allocations: 1.219 MB / 0.7096 GB, free: 1.848 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.1689, allocations: 123.6 kB / 0.7097 GB, free: 1.727 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/0.169, allocations: 31.91 kB / 0.7097 GB, free: 1.695 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.1693, allocations: 43.94 kB / 0.7098 GB, free: 1.652 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.1694, allocations: 32.38 kB / 0.7098 GB, free: 1.621 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.1694, allocations: 15.98 kB / 0.7098 GB, free: 1.605 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0002203/0.1697, allocations: 221.2 kB / 0.71 GB, free: 1.391 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1697, allocations: 0 / 0.71 GB, free: 1.391 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0004308/0.1701, allocations: 131.9 kB / 0.7102 GB, free: 1.262 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.001988/0.1721, allocations: 1.797 MB / 0.7119 GB, free: 15.44 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.1733, allocations: 0.7946 MB / 0.7127 GB, free: 14.64 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1733, allocations: 448 / 0.7127 GB, free: 14.64 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.0004955/0.1738, allocations: 374.2 kB / 0.713 GB, free: 14.28 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1741, allocations: 20.98 kB / 0.7131 GB, free: 14.26 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.1827, allocations: 6.988 MB / 0.7199 GB, free: 7.141 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.1832, allocations: 0.9052 MB / 0.7208 GB, free: 6.207 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0005243/0.1838, allocations: 247 kB / 0.721 GB, free: 5.969 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.184, allocations: 127.4 kB / 0.7211 GB, free: 5.844 MB / 0.5452 GB Notification: Performance of SimCode: time 9.02e-07/0.184, allocations: 0 / 0.7211 GB, free: 5.844 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.2171, allocations: 10.24 MB / 0.7311 GB, free: 11.79 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.85, allocations: 3.984 kB / 0.7311 GB, free: 11.78 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: 15.81855511595495]