Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 215.7 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06826/0.06826, allocations: 14.39 MB / 300.5 MB, free: 7.543 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 76.31 kB / 421.4 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08133/0.08356, allocations: 52.9 MB / 474.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.008228/0.09179, allocations: 7.321 MB / 481.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005568/0.09736, allocations: 3.572 MB / 485.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/0.09786, allocations: 15.94 kB / 485.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.09888, allocations: 417.6 kB / 485.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.1024, allocations: 1.605 MB / 487.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.1036, allocations: 0.6086 MB / 487.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.1062, allocations: 1.848 MB / 489.7 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.1064, allocations: 74.41 kB / 489.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.1074, allocations: 0.6421 MB / 490.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008534/0.1083, allocations: 0.6459 MB / 491.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1084, allocations: 64 kB / 491.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009196/0.1093, allocations: 423.7 kB / 491.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1095, allocations: 171.2 kB / 491.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.11, allocations: 0.5481 MB / 492.3 MB, free: 284 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.1121, allocations: 1.526 MB / 493.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1121, allocations: 0 / 493.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1121, allocations: 0 / 493.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.1122, allocations: 0 / 493.8 MB, free: 14.75 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005636/0.1178, allocations: 1.693 MB / 495.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1178, allocations: 8.031 kB / 495.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.653e-05/0.1179, allocations: 22.19 kB / 495.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.1181, allocations: 122.8 kB / 495.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.1187, allocations: 152.2 kB / 495.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.1202, allocations: 0.6284 MB / 496.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.1202, allocations: 57.94 kB / 496.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1204, allocations: 72 kB / 496.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1216, allocations: 0.7542 MB / 497.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1216, allocations: 0 / 497.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.1217, allocations: 35.94 kB / 497.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1217, allocations: 20 kB / 497.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.1231, allocations: 0.7261 MB / 498.1 MB, free: 10.37 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006696/0.1298, allocations: 4.762 MB / 0.491 GB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.1317, allocations: 0.8095 MB / 0.4918 GB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.1322, allocations: 282.7 kB / 0.4921 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.219e-05/0.1322, allocations: 8.656 kB / 0.4921 GB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.1323, allocations: 43.22 kB / 0.4921 GB, free: 3.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/0.1323, allocations: 0 / 0.4921 GB, free: 3.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.003429/0.1357, allocations: 1.185 MB / 0.4933 GB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.1358, allocations: 64.06 kB / 0.4934 GB, free: 2.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/0.1366, allocations: 0.5383 MB / 0.4939 GB, free: 2.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.1367, allocations: 37.7 kB / 0.4939 GB, free: 2.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.137, allocations: 352.9 kB / 0.4943 GB, free: 1.715 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.1373, allocations: 301.3 kB / 0.4946 GB, free: 1.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.1376, allocations: 130.6 kB / 0.4947 GB, free: 1.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.1378, allocations: 378.8 kB / 0.495 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.1382, allocations: 221.9 kB / 0.4953 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.1387, allocations: 320.8 kB / 0.4956 GB, free: 360 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000959/0.1396, allocations: 0.5747 MB / 0.4961 GB, free: 15.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1396, allocations: 0 / 0.4961 GB, free: 15.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001728/0.1413, allocations: 0.853 MB / 0.497 GB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.1414, allocations: 4 kB / 0.497 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1414, allocations: 4 kB / 0.497 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.142, allocations: 180.7 kB / 0.4971 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008467/0.1429, allocations: 195.9 kB / 0.4973 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.1465, allocations: 2.44 MB / 0.4997 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.1473, allocations: 43.73 kB / 0.4997 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.1473, allocations: 28 kB / 0.4998 GB, free: 11.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003574/0.1477, allocations: 217.7 kB / 0.5 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.1479, allocations: 83.56 kB / 0.5001 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.1495, allocations: 0.8259 MB / 0.5009 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.1495, allocations: 8 kB / 0.5009 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1495, allocations: 4 kB / 0.5009 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1495, allocations: 3.984 kB / 0.5009 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.1527, allocations: 1.973 MB / 0.5028 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1527, allocations: 0 / 0.5028 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/0.1534, allocations: 171.9 kB / 0.503 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.154, allocations: 172.7 kB / 0.5031 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.154, allocations: 16 kB / 0.5031 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.1575, allocations: 2.42 MB / 0.5055 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1575, allocations: 4 kB / 0.5055 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.1592, allocations: 0.8787 MB / 0.5064 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.1596, allocations: 159.3 kB / 0.5065 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/0.1597, allocations: 16 kB / 0.5065 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.1603, allocations: 23.98 kB / 0.5066 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1604, allocations: 52.55 kB / 0.5066 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.1604, allocations: 28 kB / 0.5066 GB, free: 4.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005202/0.1609, allocations: 378.8 kB / 0.507 GB, free: 4.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1609, allocations: 0 / 0.507 GB, free: 4.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009506/0.1619, allocations: 311.7 kB / 0.5073 GB, free: 3.926 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002187/0.1641, allocations: 1.485 MB / 0.5088 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.1658, allocations: 0.7873 MB / 0.5095 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1658, allocations: 0 / 0.5095 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.1667, allocations: 0.5253 MB / 0.51 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009511/0.1676, allocations: 110.4 kB / 0.5101 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00934/0.177, allocations: 5.805 MB / 0.5158 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.1776, allocations: 0.935 MB / 0.5167 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003951/0.178, allocations: 101.3 kB / 0.5168 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.1784, allocations: 271.3 kB / 0.5171 GB, free: 9.703 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1784, allocations: 0 / 0.5171 GB, free: 9.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2471/0.4255, allocations: 18.42 MB / 0.5351 GB, free: 59.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.36, allocations: 8.172 kB / 0.5351 GB, free: 59.91 MB / 398.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.191347207990475]