Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.001865/0.001865, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002337/0.002337, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.435/1.435, allocations: 207.7 MB / 233.1 MB, free: 9.785 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.06859/0.06859, allocations: 14.38 MB / 299.7 MB, free: 7.242 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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",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.003699/0.003699, allocations: 71.03 kB / 420.6 MB, free: 39.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1031, allocations: 52.9 MB / 473.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.008057/0.1112, allocations: 6.365 MB / 479.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.1175, allocations: 3.257 MB / 483.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.1186, allocations: 23.88 kB / 483.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.1199, allocations: 385.7 kB / 483.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.1243, allocations: 1.535 MB / 485.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1256, allocations: 0.5681 MB / 485.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.1279, allocations: 1.805 MB / 487.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.1281, allocations: 70.38 kB / 487.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009051/0.1291, allocations: 0.6304 MB / 488.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.1299, allocations: 0.5756 MB / 488.7 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.13, allocations: 64 kB / 488.8 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009138/0.1309, allocations: 407.6 kB / 489.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.131, allocations: 155.2 kB / 489.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004712/0.1315, allocations: 457.9 kB / 489.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.1334, allocations: 1.506 MB / 491.3 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1334, allocations: 0 / 491.3 MB, free: 224 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1334, allocations: 0 / 491.3 MB, free: 224 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1335, allocations: 0 / 491.3 MB, free: 224 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005218/0.1387, allocations: 1.635 MB / 492.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1387, allocations: 11.97 kB / 492.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.1389, allocations: 118.7 kB / 493.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000601/0.1395, allocations: 156.3 kB / 493.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.1408, allocations: 0.6077 MB / 493.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.1408, allocations: 58.12 kB / 493.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.1409, allocations: 76 kB / 494 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.1421, allocations: 0.7514 MB / 494.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1421, allocations: 0 / 494.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.1422, allocations: 32 kB / 494.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1422, allocations: 20 kB / 494.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1433, allocations: 0.6596 MB / 495.4 MB, free: 11.98 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.005687/0.149, allocations: 3.04 MB / 498.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.1506, allocations: 0.731 MB / 499.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.151, allocations: 259.1 kB / 499.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.1511, allocations: 12.66 kB / 499.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.1511, allocations: 43.16 kB / 499.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/0.1511, allocations: 0 / 499.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004917/0.156, allocations: 1.533 MB / 0.4893 GB, free: 6.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.1561, allocations: 60.06 kB / 0.4893 GB, free: 6.176 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/0.1569, allocations: 0.5615 MB / 0.4899 GB, free: 5.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.1569, allocations: 33.7 kB / 0.4899 GB, free: 5.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.1573, allocations: 368.7 kB / 0.4903 GB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.1576, allocations: 281.5 kB / 0.4905 GB, free: 4.922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.1578, allocations: 126.6 kB / 0.4907 GB, free: 4.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.158, allocations: 374.8 kB / 0.491 GB, free: 4.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.1583, allocations: 209.9 kB / 0.4912 GB, free: 4.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.1588, allocations: 338 kB / 0.4915 GB, free: 3.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008909/0.1597, allocations: 0.5913 MB / 0.4921 GB, free: 3.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1597, allocations: 0 / 0.4921 GB, free: 3.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001988/0.1617, allocations: 0.9387 MB / 0.493 GB, free: 2.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1617, allocations: 16 kB / 0.4931 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1617, allocations: 0 / 0.4931 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.1629, allocations: 333.3 kB / 0.4934 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.1635, allocations: 151.8 kB / 0.4935 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.1691, allocations: 3.329 MB / 0.4968 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.1698, allocations: 55.61 kB / 0.4968 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.1699, allocations: 27.98 kB / 0.4968 GB, free: 14.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (69): * Single equations (assignments): 68 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004131/0.1703, allocations: 229.6 kB / 0.4971 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.1705, allocations: 79.53 kB / 0.4971 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.1724, allocations: 0.8763 MB / 0.498 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.1724, allocations: 8 kB / 0.498 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.1724, allocations: 0 / 0.498 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.1724, allocations: 3.984 kB / 0.498 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.1755, allocations: 1.62 MB / 0.4996 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1755, allocations: 0 / 0.4996 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.176, allocations: 123.8 kB / 0.4997 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.177, allocations: 300.8 kB / 0.5 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.1771, allocations: 12 kB / 0.5 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.1822, allocations: 3.223 MB / 0.5032 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1822, allocations: 4 kB / 0.5032 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.1842, allocations: 0.9369 MB / 0.5041 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.1846, allocations: 147.4 kB / 0.5042 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1847, allocations: 15.94 kB / 0.5042 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/0.1853, allocations: 27.89 kB / 0.5043 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1854, allocations: 56.53 kB / 0.5043 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.1854, allocations: 20 kB / 0.5043 GB, free: 6.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000533/0.186, allocations: 390.8 kB / 0.5047 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.186, allocations: 4 kB / 0.5047 GB, free: 6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009572/0.1869, allocations: 331.8 kB / 0.505 GB, free: 5.676 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 (49): * Single equations (assignments): 48 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00242/0.1894, allocations: 1.543 MB / 0.5065 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.1914, allocations: 0.8882 MB / 0.5074 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1914, allocations: 0 / 0.5074 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.1925, allocations: 0.5912 MB / 0.508 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/0.1935, allocations: 107.8 kB / 0.5081 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.2038, allocations: 6.013 MB / 0.5139 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2042, allocations: 348.7 kB / 0.5143 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.2045, allocations: 89.25 kB / 0.5144 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/0.205, allocations: 263.3 kB / 0.5146 GB, free: 11.6 MB / 398.1 MB Notification: Performance of SimCode: time 1.323e-06/0.205, allocations: 0 / 0.5146 GB, free: 11.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/0.4458, allocations: 20.64 MB / 0.5348 GB, free: 59.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.61, allocations: 10.78 kB / 0.5348 GB, free: 59.98 MB / 398.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.26612199516967]