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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 105.1 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009767/0.0009768, allocations: 196.1 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8246/0.8246, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 62.3 kB / 0.5704 GB, free: 40.1 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1267, allocations: 80.7 MB / 0.6492 GB, free: 13.68 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002369/0.1291, allocations: 1.806 MB / 0.651 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.13, allocations: 0.5536 MB / 0.6515 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1301, allocations: 0 / 0.6515 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1302, allocations: 27.77 kB / 0.6516 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1304, allocations: 59.55 kB / 0.6516 GB, free: 11.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.1306, allocations: 83.81 kB / 0.6517 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.131, allocations: 347.6 kB / 0.652 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.835e-05/0.1311, allocations: 29.66 kB / 0.6521 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.1312, allocations: 135.6 kB / 0.6522 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1314, allocations: 159.5 kB / 0.6524 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.1315, allocations: 16 kB / 0.6524 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.665e-05/0.1315, allocations: 20 kB / 0.6524 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.1316, allocations: 71.8 kB / 0.6525 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1318, allocations: 103.5 kB / 0.6526 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.132, allocations: 279.2 kB / 0.6528 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.132, allocations: 0 / 0.6528 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.132, allocations: 0 / 0.6528 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.132, allocations: 0 / 0.6528 GB, free: 9.996 MB / 0.4983 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.001137/0.1332, allocations: 0.6353 MB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1332, allocations: 11.89 kB / 0.6535 GB, free: 9.297 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.1333, allocations: 50.73 kB / 0.6535 GB, free: 9.238 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.1334, allocations: 28.73 kB / 0.6535 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1337, allocations: 267.9 kB / 0.6538 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1337, allocations: 20.64 kB / 0.6538 GB, free: 8.891 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.1338, allocations: 36.48 kB / 0.6538 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.1343, allocations: 309.3 kB / 0.6541 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1343, allocations: 0 / 0.6541 GB, free: 8.543 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1343, allocations: 4 kB / 0.6541 GB, free: 8.539 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1343, allocations: 8 kB / 0.6541 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.1347, allocations: 239.5 kB / 0.6544 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1366, allocations: 1.089 MB / 0.6554 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.1375, allocations: 434.6 kB / 0.6559 GB, free: 6.715 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.1377, allocations: 176.7 kB / 0.656 GB, free: 6.539 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1377, allocations: 7.938 kB / 0.656 GB, free: 6.531 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1378, allocations: 38.56 kB / 0.6561 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.1378, allocations: 0 / 0.6561 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of matching and sorting (n=23): time 0.0006755/0.1384, allocations: 467.3 kB / 0.6565 GB, free: 6.02 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1385, allocations: 55.41 kB / 0.6566 GB, free: 5.953 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1387, allocations: 210.4 kB / 0.6568 GB, free: 5.738 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1387, allocations: 33.64 kB / 0.6568 GB, free: 5.699 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.1388, allocations: 136.5 kB / 0.6569 GB, free: 5.562 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.1389, allocations: 91.23 kB / 0.657 GB, free: 5.473 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.139, allocations: 77.66 kB / 0.6571 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1391, allocations: 338.8 kB / 0.6574 GB, free: 5.051 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.1393, allocations: 191.8 kB / 0.6576 GB, free: 4.863 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.1396, allocations: 239.9 kB / 0.6578 GB, free: 4.613 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.1401, allocations: 428.2 kB / 0.6582 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1401, allocations: 0 / 0.6582 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006452/0.1408, allocations: 0.5086 MB / 0.6587 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1408, allocations: 4 kB / 0.6587 GB, free: 3.66 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1408, allocations: 4 kB / 0.6587 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1408, allocations: 128 / 0.6587 GB, free: 3.656 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.1413, allocations: 111.9 kB / 0.6588 GB, free: 3.547 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1413, allocations: 4 kB / 0.6588 GB, free: 3.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1415, allocations: 43.75 kB / 0.6589 GB, free: 3.5 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1415, allocations: 8 kB / 0.6589 GB, free: 3.492 MB / 0.4983 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.000142/0.1417, allocations: 167.1 kB / 0.6591 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.1417, allocations: 23.83 kB / 0.6591 GB, free: 3.297 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-05/0.1418, allocations: 41.88 kB / 0.6591 GB, free: 3.25 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1418, allocations: 0 / 0.6591 GB, free: 3.25 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1418, allocations: 4 kB / 0.6591 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1418, allocations: 3.984 kB / 0.6591 GB, free: 3.242 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.1422, allocations: 353.3 kB / 0.6595 GB, free: 2.848 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1422, allocations: 7.875 kB / 0.6595 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.1427, allocations: 99.86 kB / 0.6596 GB, free: 2.742 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1427, allocations: 4 kB / 0.6596 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1428, allocations: 11.98 kB / 0.6596 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1428, allocations: 4 kB / 0.6596 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1428, allocations: 0 / 0.6596 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.1435, allocations: 0.6155 MB / 0.6602 GB, free: 2.094 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.1437, allocations: 140.8 kB / 0.6603 GB, free: 1.938 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1437, allocations: 19.86 kB / 0.6603 GB, free: 1.918 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1439, allocations: 19.97 kB / 0.6604 GB, free: 1.898 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.1439, allocations: 11.98 kB / 0.6604 GB, free: 1.887 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1439, allocations: 11.98 kB / 0.6604 GB, free: 1.875 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001197/0.1441, allocations: 164.1 kB / 0.6605 GB, free: 1.715 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1441, allocations: 0 / 0.6605 GB, free: 1.715 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002849/0.1444, allocations: 60 kB / 0.6606 GB, free: 1.656 MB / 0.4983 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.0009359/0.1453, allocations: 1.161 MB / 0.6617 GB, free: 480 kB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.1458, allocations: 395.5 kB / 0.6621 GB, free: 84 kB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1458, allocations: 4.25 kB / 0.6621 GB, free: 80 kB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1461, allocations: 162.2 kB / 0.6623 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1463, allocations: 12 kB / 0.6623 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.1504, allocations: 3.985 MB / 0.6662 GB, free: 11.81 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1507, allocations: 0.7947 MB / 0.6669 GB, free: 10.99 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.151, allocations: 109.8 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1511, allocations: 63.42 kB / 0.6671 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of SimCode: time 4.5e-07/0.1511, allocations: 0 / 0.6671 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.1743, allocations: 5.176 MB / 0.6722 GB, free: 5.824 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.065, allocations: 8.25 kB / 0.6722 GB, free: 5.816 MB / 0.5139 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.csv --start-time 0 --stop-time 500 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.05 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_OneGeneratorStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad_res.csv","/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) Reference file matches