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.001282/0.001282, allocations: 112.8 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.001322/0.001323, allocations: 200 kB / 18.01 MB, free: 5.047 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.262/1.262, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8243/0.8243, allocations: 119.3 MB / 411.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.38 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 80.7 MB / 0.6492 GB, free: 13.54 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Power.ConceptualPowerSystem.Verification.OneGeneratorStepLoad): time 0.002745/0.133, allocations: 1.802 MB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1341, allocations: 0.5536 MB / 0.6515 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1342, allocations: 4 kB / 0.6516 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1344, allocations: 23.78 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1346, allocations: 59.55 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.1349, allocations: 87.81 kB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.1354, allocations: 347.6 kB / 0.652 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.1355, allocations: 25.66 kB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.1357, allocations: 139.6 kB / 0.6522 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1359, allocations: 151.4 kB / 0.6523 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.211e-05/0.136, allocations: 20 kB / 0.6524 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.1361, allocations: 20 kB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.1362, allocations: 75.78 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.1363, allocations: 107.5 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.1366, allocations: 275.2 kB / 0.6528 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1366, allocations: 0 / 0.6528 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1366, allocations: 0 / 0.6528 GB, free: 9.855 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.1366, allocations: 4 kB / 0.6528 GB, free: 9.852 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.001253/0.1379, allocations: 0.6314 MB / 0.6534 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1379, allocations: 11.89 kB / 0.6535 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.138, allocations: 50.73 kB / 0.6535 GB, free: 9.098 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.1381, allocations: 28.73 kB / 0.6535 GB, free: 9.07 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.1384, allocations: 267.9 kB / 0.6538 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1384, allocations: 16.7 kB / 0.6538 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.1386, allocations: 36.48 kB / 0.6538 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.139, allocations: 309.3 kB / 0.6541 GB, free: 8.406 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.139, allocations: 4 kB / 0.6541 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1391, allocations: 4 kB / 0.6541 GB, free: 8.398 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.1391, allocations: 7.984 kB / 0.6541 GB, free: 8.391 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.1394, allocations: 235.5 kB / 0.6544 GB, free: 8.16 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.1414, allocations: 1.097 MB / 0.6554 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008855/0.1423, allocations: 430.6 kB / 0.6559 GB, free: 6.574 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.1426, allocations: 168.7 kB / 0.656 GB, free: 6.406 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1426, allocations: 11.94 kB / 0.656 GB, free: 6.395 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1426, allocations: 34.56 kB / 0.6561 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.1427, allocations: 0 / 0.6561 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of matching and sorting (n=23): time 0.0007347/0.1434, allocations: 467.3 kB / 0.6565 GB, free: 5.887 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1434, allocations: 51.41 kB / 0.6566 GB, free: 5.824 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1436, allocations: 218.3 kB / 0.6568 GB, free: 5.602 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1437, allocations: 37.64 kB / 0.6568 GB, free: 5.559 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.1438, allocations: 132.6 kB / 0.6569 GB, free: 5.426 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.1439, allocations: 95.22 kB / 0.657 GB, free: 5.332 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.144, allocations: 73.66 kB / 0.6571 GB, free: 5.254 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1441, allocations: 334.8 kB / 0.6574 GB, free: 4.918 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.1444, allocations: 195.8 kB / 0.6576 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1447, allocations: 247.9 kB / 0.6578 GB, free: 4.469 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.1452, allocations: 424.3 kB / 0.6582 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1452, allocations: 0 / 0.6582 GB, free: 4.039 MB / 0.4983 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007022/0.1459, allocations: 0.5085 MB / 0.6587 GB, free: 3.523 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.146, allocations: 4 kB / 0.6587 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.146, allocations: 4.125 kB / 0.6587 GB, free: 3.516 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.146, allocations: 4 kB / 0.6587 GB, free: 3.512 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.1465, allocations: 107.9 kB / 0.6588 GB, free: 3.406 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1465, allocations: 3.984 kB / 0.6588 GB, free: 3.402 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1467, allocations: 47.75 kB / 0.6589 GB, free: 3.355 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.1467, allocations: 8 kB / 0.6589 GB, free: 3.348 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.0001628/0.1469, allocations: 163.1 kB / 0.6591 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.1469, allocations: 19.84 kB / 0.6591 GB, free: 3.16 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.147, allocations: 45.86 kB / 0.6591 GB, free: 3.109 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.147, allocations: 4 kB / 0.6591 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1471, allocations: 0 / 0.6591 GB, free: 3.105 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1471, allocations: 3.984 kB / 0.6591 GB, free: 3.102 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.1475, allocations: 349.3 kB / 0.6595 GB, free: 2.711 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1475, allocations: 3.938 kB / 0.6595 GB, free: 2.707 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.148, allocations: 99.86 kB / 0.6596 GB, free: 2.609 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.148, allocations: 4 kB / 0.6596 GB, free: 2.605 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.148, allocations: 11.98 kB / 0.6596 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.148, allocations: 0 / 0.6596 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.148, allocations: 0 / 0.6596 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.1488, allocations: 0.6272 MB / 0.6602 GB, free: 1.953 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1489, allocations: 132.8 kB / 0.6603 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.149, allocations: 19.94 kB / 0.6603 GB, free: 1.785 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1492, allocations: 19.97 kB / 0.6604 GB, free: 1.766 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.1492, allocations: 19.91 kB / 0.6604 GB, free: 1.746 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1493, allocations: 8 kB / 0.6604 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001358/0.1494, allocations: 160.1 kB / 0.6605 GB, free: 1.582 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1494, allocations: 4 kB / 0.6605 GB, free: 1.578 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002946/0.1497, allocations: 60 kB / 0.6606 GB, free: 1.52 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.001014/0.1507, allocations: 1.158 MB / 0.6617 GB, free: 344 kB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0005961/0.1513, allocations: 399.6 kB / 0.6621 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.1513, allocations: 0 / 0.6621 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.1516, allocations: 166.2 kB / 0.6623 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1518, allocations: 8 kB / 0.6623 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.1563, allocations: 3.997 MB / 0.6662 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1567, allocations: 0.7947 MB / 0.6669 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000237/0.1569, allocations: 109.8 kB / 0.6671 GB, free: 10.73 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1571, allocations: 63.42 kB / 0.6671 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of SimCode: time 5.51e-07/0.1571, allocations: 0 / 0.6671 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1804, allocations: 5.178 MB / 0.6722 GB, free: 5.68 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.631, allocations: 4.188 kB / 0.6722 GB, free: 5.676 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