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.001513/0.001513, allocations: 113 kB / 17.07 MB, free: 6.016 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.00144/0.001441, allocations: 189.4 kB / 18 MB, free: 5.098 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.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9421/0.9421, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 65.58 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1385, allocations: 80.7 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002812/0.1414, allocations: 1.802 MB / 0.651 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1425, allocations: 0.5458 MB / 0.6515 GB, free: 11.23 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.1425, allocations: 8 kB / 0.6516 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1427, allocations: 27.7 kB / 0.6516 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1429, allocations: 59.59 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.1432, allocations: 79.83 kB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.1436, allocations: 347.6 kB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.1437, allocations: 29.66 kB / 0.6521 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1439, allocations: 139.6 kB / 0.6522 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.1442, allocations: 147.5 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.916e-05/0.1443, allocations: 24 kB / 0.6524 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.183e-05/0.1443, allocations: 20 kB / 0.6524 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1444, allocations: 71.8 kB / 0.6525 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1446, allocations: 107.5 kB / 0.6526 GB, free: 10.19 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.1449, allocations: 271.2 kB / 0.6528 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1449, allocations: 4 kB / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1449, allocations: 0 / 0.6528 GB, free: 9.918 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.145, allocations: 0 / 0.6528 GB, free: 9.918 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.001293/0.1463, allocations: 0.6352 MB / 0.6534 GB, free: 9.23 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1463, allocations: 15.89 kB / 0.6535 GB, free: 9.215 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1464, allocations: 54.72 kB / 0.6535 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.1465, allocations: 28.73 kB / 0.6535 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.1468, allocations: 264 kB / 0.6538 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1469, allocations: 16.7 kB / 0.6538 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.147, allocations: 32.55 kB / 0.6538 GB, free: 8.781 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.1475, allocations: 301.3 kB / 0.6541 GB, free: 8.477 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1475, allocations: 0 / 0.6541 GB, free: 8.477 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1475, allocations: 12 kB / 0.6541 GB, free: 8.465 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1476, allocations: 4 kB / 0.6541 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.1479, allocations: 239.5 kB / 0.6544 GB, free: 8.227 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1501, allocations: 1.097 MB / 0.6554 GB, free: 7.07 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009261/0.151, allocations: 438.6 kB / 0.6559 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.1513, allocations: 168.7 kB / 0.656 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1513, allocations: 11.88 kB / 0.656 GB, free: 6.453 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1513, allocations: 34.56 kB / 0.6561 GB, free: 6.41 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=23): time 1.834e-06/0.1513, allocations: 4 kB / 0.6561 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of matching and sorting (n=23): time 0.0007933/0.1521, allocations: 469.6 kB / 0.6565 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1522, allocations: 51.41 kB / 0.6566 GB, free: 5.875 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.1524, allocations: 214.3 kB / 0.6568 GB, free: 5.656 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.1525, allocations: 37.64 kB / 0.6568 GB, free: 5.613 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1526, allocations: 132.6 kB / 0.6569 GB, free: 5.48 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.1527, allocations: 91.23 kB / 0.657 GB, free: 5.391 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1528, allocations: 73.66 kB / 0.6571 GB, free: 5.312 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1529, allocations: 334.8 kB / 0.6574 GB, free: 4.977 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.1532, allocations: 191.8 kB / 0.6576 GB, free: 4.789 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1536, allocations: 239.9 kB / 0.6578 GB, free: 4.539 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/0.1542, allocations: 436.2 kB / 0.6582 GB, free: 4.098 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1542, allocations: 0 / 0.6582 GB, free: 4.098 MB / 0.4983 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007715/0.155, allocations: 0.5008 MB / 0.6587 GB, free: 3.59 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.155, allocations: 8 kB / 0.6587 GB, free: 3.582 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.155, allocations: 0 / 0.6587 GB, free: 3.582 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.155, allocations: 4 kB / 0.6587 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.1555, allocations: 107.9 kB / 0.6588 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1555, allocations: 4.125 kB / 0.6588 GB, free: 3.469 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1557, allocations: 55.73 kB / 0.6589 GB, free: 3.414 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.1558, allocations: 11.98 kB / 0.6589 GB, free: 3.402 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.0001627/0.1559, allocations: 163.1 kB / 0.6591 GB, free: 3.234 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.156, allocations: 19.84 kB / 0.6591 GB, free: 3.215 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1561, allocations: 37.88 kB / 0.6591 GB, free: 3.172 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1561, allocations: 4 kB / 0.6591 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1561, allocations: 0 / 0.6591 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1561, allocations: 3.984 kB / 0.6591 GB, free: 3.164 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.1566, allocations: 361.2 kB / 0.6595 GB, free: 2.762 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1566, allocations: 3.938 kB / 0.6595 GB, free: 2.758 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.1571, allocations: 95.92 kB / 0.6596 GB, free: 2.664 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1571, allocations: 0 / 0.6596 GB, free: 2.664 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.1572, allocations: 15.98 kB / 0.6596 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1572, allocations: 0 / 0.6596 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1572, allocations: 0 / 0.6596 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.158, allocations: 0.6221 MB / 0.6602 GB, free: 2.012 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.1582, allocations: 136.8 kB / 0.6603 GB, free: 1.859 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.1583, allocations: 19.92 kB / 0.6603 GB, free: 1.84 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.1585, allocations: 19.97 kB / 0.6604 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1585, allocations: 11.98 kB / 0.6604 GB, free: 1.809 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1586, allocations: 11.98 kB / 0.6604 GB, free: 1.797 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.000145/0.1587, allocations: 164.1 kB / 0.6605 GB, free: 1.637 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 0.6605 GB, free: 1.637 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003316/0.159, allocations: 60 kB / 0.6606 GB, free: 1.578 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.001126/0.1602, allocations: 1.164 MB / 0.6617 GB, free: 400 kB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0006215/0.1608, allocations: 395.5 kB / 0.6621 GB, free: 4 kB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1608, allocations: 0 / 0.6621 GB, free: 4 kB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.1611, allocations: 159.8 kB / 0.6623 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1613, allocations: 15.81 kB / 0.6623 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.1662, allocations: 3.993 MB / 0.6662 GB, free: 11.73 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1667, allocations: 0.7947 MB / 0.6669 GB, free: 10.91 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.1669, allocations: 113.8 kB / 0.6671 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1671, allocations: 63.42 kB / 0.6671 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of SimCode: time 3.5e-07/0.1671, allocations: 0 / 0.6671 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.1979, allocations: 5.169 MB / 0.6722 GB, free: 5.746 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.293/8.491, allocations: 11.14 kB / 0.6722 GB, free: 5.738 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