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.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.001383/0.001383, allocations: 110.8 kB / 16.46 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.00154/0.00154, allocations: 192.5 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.513/1.513, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.06887/0.06887, allocations: 14.41 MB / 296.1 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.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.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.002677/0.002677, allocations: 71.89 kB / 415.4 MB, free: 40.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09905, allocations: 52.87 MB / 468.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.00863/0.1077, allocations: 7.177 MB / 475.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.1136, allocations: 3.549 MB / 479 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.1145, allocations: 15.94 kB / 479 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1157, allocations: 413.6 kB / 479.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.1198, allocations: 1.624 MB / 481.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1211, allocations: 0.5797 MB / 481.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002981/0.124, allocations: 1.821 MB / 483.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.1243, allocations: 78.17 kB / 483.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.1257, allocations: 0.6109 MB / 484.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.1268, allocations: 0.6381 MB / 484.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1269, allocations: 60 kB / 484.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.1281, allocations: 427.7 kB / 485.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1282, allocations: 155.2 kB / 485.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006404/0.1289, allocations: 0.5364 MB / 485.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.1314, allocations: 1.495 MB / 487.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1314, allocations: 3.938 kB / 487.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1314, allocations: 3.984 kB / 487.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.1315, allocations: 0 / 487.4 MB, free: 0.5078 MB / 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.005448/0.1369, allocations: 1.71 MB / 489.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.137, allocations: 12.03 kB / 489.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.1371, allocations: 114.7 kB / 489.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.1378, allocations: 152.3 kB / 489.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.1393, allocations: 0.6772 MB / 490.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.1394, allocations: 62.12 kB / 490.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1395, allocations: 64 kB / 490.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1408, allocations: 0.7553 MB / 491 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.1408, allocations: 0 / 491 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.1409, allocations: 32 kB / 491 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.1409, allocations: 20 kB / 491 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1422, allocations: 0.683 MB / 491.7 MB, free: 12.08 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.007678/0.1499, allocations: 5.22 MB / 496.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1516, allocations: 0.8951 MB / 497.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.152, allocations: 258.8 kB / 498.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.1521, allocations: 8.656 kB / 498.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1521, allocations: 39.22 kB / 498.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.585e-06/0.1521, allocations: 0 / 498.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004602/0.1567, allocations: 1.558 MB / 499.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1568, allocations: 56.06 kB / 499.7 MB, free: 3.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.1575, allocations: 0.5537 MB / 0.4886 GB, free: 2.855 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1576, allocations: 41.7 kB / 0.4886 GB, free: 2.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.1579, allocations: 360.7 kB / 0.489 GB, free: 2.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.1582, allocations: 285.5 kB / 0.4892 GB, free: 2.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.1584, allocations: 126.6 kB / 0.4893 GB, free: 2.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1586, allocations: 378.8 kB / 0.4897 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.1589, allocations: 209.9 kB / 0.4899 GB, free: 1.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.1594, allocations: 330 kB / 0.4902 GB, free: 1.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009046/0.1603, allocations: 0.5914 MB / 0.4908 GB, free: 476 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1603, allocations: 0 / 0.4908 GB, free: 476 kB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001938/0.1622, allocations: 0.9353 MB / 0.4917 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1623, allocations: 4 kB / 0.4917 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1623, allocations: 4 kB / 0.4917 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.1634, allocations: 317.6 kB / 0.492 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.1641, allocations: 163.8 kB / 0.4922 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005333/0.1694, allocations: 3.378 MB / 0.4955 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.1702, allocations: 55.66 kB / 0.4955 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.1702, allocations: 27.94 kB / 0.4956 GB, free: 11.46 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 (71): * Single equations (assignments): 70 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0003581/0.1706, allocations: 221.7 kB / 0.4958 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.1707, allocations: 79.47 kB / 0.4958 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/0.1726, allocations: 0.8685 MB / 0.4967 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.1726, allocations: 15.94 kB / 0.4967 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1726, allocations: 0 / 0.4967 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.1726, allocations: 3.984 kB / 0.4967 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.176, allocations: 1.909 MB / 0.4986 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.176, allocations: 0 / 0.4986 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.1765, allocations: 123.9 kB / 0.4987 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.1776, allocations: 304.5 kB / 0.499 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.1776, allocations: 15.94 kB / 0.499 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.1828, allocations: 3.288 MB / 0.5022 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1828, allocations: 0 / 0.5022 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.1848, allocations: 0.937 MB / 0.5031 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.1854, allocations: 220.5 kB / 0.5033 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.1856, allocations: 19.94 kB / 0.5034 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.1862, allocations: 19.94 kB / 0.5034 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1863, allocations: 52.58 kB / 0.5034 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.1864, allocations: 20 kB / 0.5034 GB, free: 3.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007405/0.1871, allocations: 394.8 kB / 0.5038 GB, free: 2.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1871, allocations: 0 / 0.5038 GB, free: 2.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00128/0.1884, allocations: 331.8 kB / 0.5041 GB, free: 2.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 (51): * Single equations (assignments): 50 * 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,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002647/0.191, allocations: 1.543 MB / 0.5056 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.1931, allocations: 0.8646 MB / 0.5065 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1931, allocations: 0 / 0.5065 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.1943, allocations: 0.579 MB / 0.5071 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.1953, allocations: 109.8 kB / 0.5072 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.2076, allocations: 5.995 MB / 0.513 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.2084, allocations: 0.9389 MB / 0.5139 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003842/0.2087, allocations: 89.23 kB / 0.514 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.2092, allocations: 259.3 kB / 0.5143 GB, free: 7.77 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2092, allocations: 4 kB / 0.5143 GB, free: 7.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2833/0.4925, allocations: 20.08 MB / 0.5339 GB, free: 57.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.49, allocations: 11.94 kB / 0.5339 GB, free: 57.85 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_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.304001065902412]