Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.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.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Power_ConceptualPowerSystem_ScaledExperiments_PowerSystemStepLoad_N_2_M_4",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.001278/0.001278, allocations: 110.2 kB / 17.06 MB, free: 5.969 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.00126/0.00126, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.243/1.243, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8183/0.8183, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 66.39 kB / 0.5705 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1305, allocations: 80.69 MB / 0.6493 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4): time 0.002437/0.1329, allocations: 1.826 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009111/0.1339, allocations: 0.5536 MB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.1339, allocations: 0 / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1341, allocations: 19.78 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1343, allocations: 71.52 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1346, allocations: 79.81 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.1352, allocations: 0.6519 MB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.1353, allocations: 48.72 kB / 0.6524 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.1355, allocations: 255.3 kB / 0.6527 GB, free: 10 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.1359, allocations: 279.1 kB / 0.653 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.136, allocations: 40 kB / 0.653 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.1361, allocations: 40 kB / 0.653 GB, free: 9.652 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1362, allocations: 147.6 kB / 0.6532 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.1365, allocations: 223 kB / 0.6534 GB, free: 9.289 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.137, allocations: 0.5296 MB / 0.6539 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.137, allocations: 0 / 0.6539 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.964e-06/0.137, allocations: 0 / 0.6539 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.137, allocations: 0 / 0.6539 GB, free: 8.758 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.001942/0.1389, allocations: 0.9624 MB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.139, allocations: 8.031 kB / 0.6548 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.169e-05/0.1391, allocations: 74.72 kB / 0.6549 GB, free: 7.656 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.754e-05/0.1392, allocations: 44.66 kB / 0.655 GB, free: 7.613 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.1397, allocations: 354.8 kB / 0.6553 GB, free: 7.227 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1398, allocations: 29.03 kB / 0.6553 GB, free: 7.195 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.14, allocations: 72.44 kB / 0.6554 GB, free: 7.125 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00076/0.1408, allocations: 0.5289 MB / 0.6559 GB, free: 6.59 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1408, allocations: 4 kB / 0.6559 GB, free: 6.586 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.1408, allocations: 11.98 kB / 0.6559 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.1409, allocations: 12.66 kB / 0.6559 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.1415, allocations: 0.506 MB / 0.6564 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/0.1448, allocations: 1.577 MB / 0.658 GB, free: 4.43 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.1462, allocations: 0.8727 MB / 0.6588 GB, free: 3.543 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.1467, allocations: 384.1 kB / 0.6592 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1468, allocations: 12.42 kB / 0.6592 GB, free: 3.156 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1468, allocations: 38.94 kB / 0.6592 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=52): time 1.833e-06/0.1468, allocations: 0 / 0.6592 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of matching and sorting (n=52): time 0.001422/0.1482, allocations: 0.9999 MB / 0.6602 GB, free: 2.105 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1483, allocations: 59.84 kB / 0.6603 GB, free: 2.035 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1486, allocations: 310.7 kB / 0.6606 GB, free: 1.719 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.1486, allocations: 41.7 kB / 0.6606 GB, free: 1.672 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1487, allocations: 169 kB / 0.6608 GB, free: 1.504 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1489, allocations: 218.2 kB / 0.661 GB, free: 1.289 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.1491, allocations: 130.6 kB / 0.6611 GB, free: 1.156 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1492, allocations: 358.8 kB / 0.6614 GB, free: 0.7969 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.1498, allocations: 409.6 kB / 0.6618 GB, free: 404 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000594/0.1504, allocations: 0.4972 MB / 0.6623 GB, free: 15.87 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.1515, allocations: 0.8741 MB / 0.6632 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1515, allocations: 4 kB / 0.6632 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001389/0.1529, allocations: 1.035 MB / 0.6642 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1529, allocations: 7.5 kB / 0.6642 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1529, allocations: 11.94 kB / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.153, allocations: 4 kB / 0.6642 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/0.1539, allocations: 227.7 kB / 0.6644 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1539, allocations: 4 kB / 0.6644 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.1543, allocations: 91.48 kB / 0.6645 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.1543, allocations: 20 kB / 0.6645 GB, free: 13.57 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.0002299/0.1545, allocations: 221.6 kB / 0.6648 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.1546, allocations: 35.77 kB / 0.6648 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.1557, allocations: 0.8098 MB / 0.6656 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1557, allocations: 4 kB / 0.6656 GB, free: 12.49 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1557, allocations: 3.938 kB / 0.6656 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1558, allocations: 7.984 kB / 0.6656 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.1564, allocations: 0.5716 MB / 0.6661 GB, free: 11.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1564, allocations: 4 kB / 0.6662 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.1574, allocations: 207.8 kB / 0.6664 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1574, allocations: 0 / 0.6664 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.1575, allocations: 31.91 kB / 0.6664 GB, free: 11.62 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.1575, allocations: 11.94 kB / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1575, allocations: 0 / 0.6664 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.159, allocations: 1.227 MB / 0.6676 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.1593, allocations: 188.7 kB / 0.6678 GB, free: 10.16 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.1595, allocations: 27.92 kB / 0.6678 GB, free: 10.13 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.1598, allocations: 43.94 kB / 0.6678 GB, free: 10.09 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.1598, allocations: 32.39 kB / 0.6679 GB, free: 10.06 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.1599, allocations: 11.98 kB / 0.6679 GB, free: 10.05 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002003/0.1601, allocations: 225.9 kB / 0.6681 GB, free: 9.828 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1601, allocations: 3.938 kB / 0.6681 GB, free: 9.824 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004149/0.1605, allocations: 131.9 kB / 0.6682 GB, free: 9.695 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.001772/0.1623, allocations: 1.806 MB / 0.67 GB, free: 7.863 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.1635, allocations: 0.8298 MB / 0.6708 GB, free: 7.031 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1635, allocations: 0 / 0.6708 GB, free: 7.031 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.1639, allocations: 370.2 kB / 0.6712 GB, free: 6.672 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.1642, allocations: 24.89 kB / 0.6712 GB, free: 6.648 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00772/0.172, allocations: 6.989 MB / 0.678 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1724, allocations: 0.9014 MB / 0.6789 GB, free: 14.61 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0005025/0.1729, allocations: 251 kB / 0.6791 GB, free: 14.36 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.1732, allocations: 127.4 kB / 0.6792 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of SimCode: time 2.605e-06/0.1732, allocations: 0 / 0.6792 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.2014, allocations: 9.635 MB / 0.6887 GB, free: 4.801 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.279, allocations: 11.72 kB / 0.6887 GB, free: 4.793 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_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_ScaledExperiments_PowerSystemStepLoad_N_2_M_4.fmu > ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Power.ConceptualPowerSystem.ScaledExperiments.PowerSystemStepLoad_N_2_M_4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches