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.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.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad",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.001232/0.001232, allocations: 114.5 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.001185/0.001185, 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9372/0.9372, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 67.06 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1312, allocations: 80.7 MB / 0.6492 GB, free: 13.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad): time 0.002728/0.134, allocations: 1.802 MB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.1349, allocations: 0.5536 MB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.135, allocations: 4 kB / 0.6516 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1351, allocations: 23.72 kB / 0.6516 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1354, allocations: 59.55 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1356, allocations: 83.88 kB / 0.6517 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.1363, allocations: 0.6519 MB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.1364, allocations: 40.73 kB / 0.6524 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.1367, allocations: 263.3 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1371, allocations: 271.2 kB / 0.6529 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.1372, allocations: 43.98 kB / 0.6529 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.187e-05/0.1373, allocations: 40 kB / 0.653 GB, free: 9.715 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1374, allocations: 147.5 kB / 0.6531 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.1377, allocations: 215 kB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005167/0.1382, allocations: 0.5374 MB / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1382, allocations: 0 / 0.6538 GB, free: 8.82 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1382, allocations: 4 kB / 0.6539 GB, free: 8.816 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.1382, allocations: 0 / 0.6539 GB, free: 8.816 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002007/0.1403, allocations: 0.9585 MB / 0.6548 GB, free: 7.809 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1403, allocations: 11.89 kB / 0.6548 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.562e-05/0.1404, allocations: 70.72 kB / 0.6549 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.046e-05/0.1405, allocations: 48.66 kB / 0.6549 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.141, allocations: 350.8 kB / 0.6552 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.141, allocations: 37.02 kB / 0.6553 GB, free: 7.25 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.1412, allocations: 76.36 kB / 0.6554 GB, free: 7.176 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.142, allocations: 0.5212 MB / 0.6559 GB, free: 6.648 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.142, allocations: 4 kB / 0.6559 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.1421, allocations: 12 kB / 0.6559 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.1421, allocations: 12.66 kB / 0.6559 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.1429, allocations: 0.5021 MB / 0.6564 GB, free: 6.117 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.146, allocations: 1.584 MB / 0.6579 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1475, allocations: 0.8727 MB / 0.6588 GB, free: 3.598 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.1481, allocations: 388.1 kB / 0.6592 GB, free: 3.219 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.1481, allocations: 4.438 kB / 0.6592 GB, free: 3.215 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.1482, allocations: 43 kB / 0.6592 GB, free: 3.164 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/0.1482, allocations: 4 kB / 0.6592 GB, free: 3.16 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001507/0.1497, allocations: 0.9921 MB / 0.6602 GB, free: 2.164 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.1497, allocations: 59.84 kB / 0.6602 GB, free: 2.094 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1501, allocations: 310.7 kB / 0.6605 GB, free: 1.777 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.1501, allocations: 37.64 kB / 0.6606 GB, free: 1.734 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1503, allocations: 177 kB / 0.6607 GB, free: 1.559 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1504, allocations: 210.2 kB / 0.6609 GB, free: 1.352 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1506, allocations: 138.6 kB / 0.6611 GB, free: 1.211 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1508, allocations: 362.8 kB / 0.6614 GB, free: 0.8477 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.1514, allocations: 409.6 kB / 0.6618 GB, free: 456 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.1521, allocations: 0.4895 MB / 0.6623 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1532, allocations: 0.8818 MB / 0.6631 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1533, allocations: 0 / 0.6631 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001466/0.1547, allocations: 1.028 MB / 0.6641 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1547, allocations: 8 kB / 0.6641 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1548, allocations: 3.938 kB / 0.6642 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.1548, allocations: 8 kB / 0.6642 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.1557, allocations: 227.7 kB / 0.6644 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.1557, allocations: 4 kB / 0.6644 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.1561, allocations: 91.48 kB / 0.6645 GB, free: 13.65 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.1561, allocations: 24 kB / 0.6645 GB, free: 13.62 MB / 0.5139 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.0002442/0.1564, allocations: 230.2 kB / 0.6647 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.45e-05/0.1565, allocations: 35.77 kB / 0.6647 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.1577, allocations: 0.8021 MB / 0.6655 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.1577, allocations: 7.984 kB / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1577, allocations: 0 / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1578, allocations: 0 / 0.6655 GB, free: 12.54 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.1585, allocations: 0.5833 MB / 0.6661 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1585, allocations: 0 / 0.6661 GB, free: 11.91 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.1595, allocations: 207.7 kB / 0.6663 GB, free: 11.71 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1595, allocations: 8 kB / 0.6663 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.1596, allocations: 35.91 kB / 0.6663 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1596, allocations: 0 / 0.6663 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1596, allocations: 0 / 0.6663 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1612, allocations: 1.227 MB / 0.6675 GB, free: 10.42 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.1614, allocations: 188.7 kB / 0.6677 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.1615, allocations: 35.91 kB / 0.6678 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.1618, allocations: 39.94 kB / 0.6678 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.1619, allocations: 32.39 kB / 0.6678 GB, free: 10.11 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.162, allocations: 16 kB / 0.6678 GB, free: 10.1 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002201/0.1622, allocations: 229.8 kB / 0.6681 GB, free: 9.875 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1622, allocations: 0 / 0.6681 GB, free: 9.875 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000389/0.1626, allocations: 127.9 kB / 0.6682 GB, free: 9.75 MB / 0.5139 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.001939/0.1645, allocations: 1.798 MB / 0.6699 GB, free: 7.926 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.1657, allocations: 0.8374 MB / 0.6708 GB, free: 7.086 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1657, allocations: 0 / 0.6708 GB, free: 7.086 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.1662, allocations: 366.2 kB / 0.6711 GB, free: 6.73 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1665, allocations: 29.33 kB / 0.6711 GB, free: 6.703 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008247/0.1748, allocations: 6.98 MB / 0.6779 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.1753, allocations: 0.8975 MB / 0.6788 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0004978/0.1758, allocations: 247 kB / 0.6791 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.1761, allocations: 127.4 kB / 0.6792 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of SimCode: time 5.31e-07/0.1761, allocations: 0 / 0.6792 GB, free: 14.31 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.2104, allocations: 9.651 MB / 0.6886 GB, free: 4.852 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.562, allocations: 4.5 kB / 0.6886 GB, free: 4.848 MB / 0.5295 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.csv --start-time 0 --stop-time 200 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.05 ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_Verification_TwoGeneratorsStepLoad.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.Verification.TwoGeneratorsStepLoad_res.csv","/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) Reference file matches