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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.458/1.458, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.06835/0.06835, allocations: 14.4 MB / 296 MB, free: 8.648 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.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(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 73.45 kB / 415.4 MB, free: 40.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09346, allocations: 52.86 MB / 468.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.008946/0.1024, allocations: 7.313 MB / 475.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006911/0.1093, allocations: 3.557 MB / 479.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.1103, allocations: 19.94 kB / 479.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.1116, allocations: 409.7 kB / 479.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.1159, allocations: 1.651 MB / 481.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.117, allocations: 0.572 MB / 481.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.1195, allocations: 1.841 MB / 483.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.1197, allocations: 70.23 kB / 483.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008905/0.1206, allocations: 0.6382 MB / 484.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.1214, allocations: 0.642 MB / 485 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.1215, allocations: 64 kB / 485 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009427/0.1224, allocations: 435.7 kB / 485.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.1226, allocations: 163.2 kB / 485.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005299/0.1231, allocations: 0.5481 MB / 486.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.125, allocations: 1.518 MB / 487.7 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.125, allocations: 0 / 487.7 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.125, allocations: 0 / 487.7 MB, free: 276 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1251, allocations: 0 / 487.7 MB, free: 276 kB / 350.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.005611/0.1307, allocations: 1.776 MB / 489.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1307, allocations: 8.031 kB / 489.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.1308, allocations: 118.8 kB / 489.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/0.1315, allocations: 152.2 kB / 489.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.1328, allocations: 0.6889 MB / 490.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.1329, allocations: 58.12 kB / 490.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.133, allocations: 72 kB / 490.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1342, allocations: 0.7542 MB / 491.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1342, allocations: 0 / 491.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.1343, allocations: 32 kB / 491.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.1343, allocations: 16 kB / 491.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1355, allocations: 0.7378 MB / 492.1 MB, free: 11.73 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.006762/0.1423, allocations: 4.805 MB / 496.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.1443, allocations: 1.115 MB / 498 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.1447, allocations: 282.7 kB / 498.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.1448, allocations: 12.66 kB / 498.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.1448, allocations: 39.22 kB / 498.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 3.547e-06/0.1448, allocations: 0 / 498.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.003281/0.1481, allocations: 1.26 MB / 499.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.1482, allocations: 64.06 kB / 499.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.149, allocations: 0.5349 MB / 0.4885 GB, free: 2.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/0.149, allocations: 41.7 kB / 0.4885 GB, free: 2.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.1493, allocations: 352.8 kB / 0.4888 GB, free: 2.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.1496, allocations: 305.3 kB / 0.4891 GB, free: 2.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.1499, allocations: 126.6 kB / 0.4893 GB, free: 2.137 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.1501, allocations: 378.8 kB / 0.4896 GB, free: 1.758 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.1505, allocations: 225.9 kB / 0.4898 GB, free: 1.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.151, allocations: 316.9 kB / 0.4901 GB, free: 1.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.1519, allocations: 0.5825 MB / 0.4907 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.152, allocations: 0 / 0.4907 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001878/0.1538, allocations: 0.8531 MB / 0.4915 GB, free: 15.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.1539, allocations: 8 kB / 0.4915 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1539, allocations: 3.984 kB / 0.4915 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/0.1546, allocations: 172.7 kB / 0.4917 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/0.1554, allocations: 199.8 kB / 0.4919 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.159, allocations: 2.528 MB / 0.4944 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009589/0.16, allocations: 55.64 kB / 0.4944 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.16, allocations: 28 kB / 0.4944 GB, free: 12.61 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.0004516/0.1605, allocations: 221.7 kB / 0.4947 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.1607, allocations: 75.53 kB / 0.4947 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.1623, allocations: 0.8261 MB / 0.4955 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.1623, allocations: 11.98 kB / 0.4956 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1623, allocations: 7.938 kB / 0.4956 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1623, allocations: 7.922 kB / 0.4956 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.1655, allocations: 2.005 MB / 0.4975 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1655, allocations: 0 / 0.4975 GB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.1662, allocations: 167.8 kB / 0.4977 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/0.1667, allocations: 172.2 kB / 0.4978 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.1668, allocations: 12 kB / 0.4979 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003653/0.1704, allocations: 2.528 MB / 0.5003 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1704, allocations: 0 / 0.5003 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.1721, allocations: 0.8825 MB / 0.5012 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/0.1725, allocations: 232.5 kB / 0.5014 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.1726, allocations: 16 kB / 0.5014 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.1731, allocations: 27.88 kB / 0.5015 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1732, allocations: 52.58 kB / 0.5015 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.1732, allocations: 20 kB / 0.5015 GB, free: 5.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006053/0.1738, allocations: 382.8 kB / 0.5019 GB, free: 4.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1738, allocations: 0 / 0.5019 GB, free: 4.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.1748, allocations: 311.8 kB / 0.5022 GB, free: 4.379 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.00213/0.177, allocations: 1.489 MB / 0.5036 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.1786, allocations: 0.7834 MB / 0.5044 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1786, allocations: 0 / 0.5044 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008626/0.1794, allocations: 0.5214 MB / 0.5049 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008347/0.1803, allocations: 120.1 kB / 0.505 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.1909, allocations: 5.787 MB / 0.5107 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009363/0.1918, allocations: 0.9388 MB / 0.5116 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004851/0.1923, allocations: 93.3 kB / 0.5117 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.1928, allocations: 275.3 kB / 0.5119 GB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1928, allocations: 0 / 0.5119 GB, free: 10.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.255/0.4478, allocations: 17.79 MB / 0.5293 GB, free: 60.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.59, allocations: 6.609 kB / 0.5293 GB, free: 60.8 MB / 398.1 MB " [Timeout remaining time 648] (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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.28053451422602]