Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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.001754/0.001754, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002184/0.002184, allocations: 220 kB / 23.03 MB, free: 4.945 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.464/1.464, allocations: 207.7 MB / 233.9 MB, free: 9.77 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.06898/0.06898, allocations: 14.39 MB / 300.5 MB, free: 7.246 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.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",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.002202/0.002202, allocations: 67.91 kB / 421.4 MB, free: 39.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08043/0.08263, allocations: 52.9 MB / 474.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01016/0.09279, allocations: 8.782 MB / 483.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007774/0.1006, allocations: 4.099 MB / 487.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.1019, allocations: 31.81 kB / 487.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.1037, allocations: 0.4931 MB / 487.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.1095, allocations: 1.963 MB / 489.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1107, allocations: 358.3 kB / 490 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004658/0.1154, allocations: 2.88 MB / 492.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.1158, allocations: 100.5 kB / 493 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.1176, allocations: 1.008 MB / 494 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.1195, allocations: 0.961 MB / 495 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.1199, allocations: 96 kB / 495.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1213, allocations: 439.7 kB / 495.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.1216, allocations: 238.8 kB / 495.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.1229, allocations: 0.6803 MB / 496.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.1263, allocations: 2.129 MB / 498.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1263, allocations: 0 / 498.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1263, allocations: 4 kB / 498.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.33e-05/0.1263, allocations: 0 / 498.5 MB, free: 9.77 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.009349/0.1357, allocations: 2.538 MB / 0.4893 GB, free: 7.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1357, allocations: 11.97 kB / 0.4893 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.117e-05/0.1358, allocations: 34.25 kB / 0.4894 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002386/0.136, allocations: 156.9 kB / 0.4895 GB, free: 6.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1371, allocations: 243.6 kB / 0.4898 GB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.1391, allocations: 0.9003 MB / 0.4906 GB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.1392, allocations: 78.12 kB / 0.4907 GB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1394, allocations: 104 kB / 0.4908 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.1414, allocations: 1.058 MB / 0.4918 GB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.1415, allocations: 3.938 kB / 0.4919 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1416, allocations: 55.98 kB / 0.4919 GB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.1416, allocations: 24 kB / 0.4919 GB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.1434, allocations: 1.034 MB / 0.4929 GB, free: 3.391 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.007211/0.1506, allocations: 3.44 MB / 0.4963 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.1531, allocations: 1.08 MB / 0.4974 GB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006389/0.1537, allocations: 351.8 kB / 0.4977 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.1538, allocations: 16 kB / 0.4977 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.1539, allocations: 54.48 kB / 0.4978 GB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.546e-06/0.1539, allocations: 4 kB / 0.4978 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.003482/0.1573, allocations: 1.45 MB / 0.4992 GB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.1574, allocations: 130.7 kB / 0.4993 GB, free: 12.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.1585, allocations: 0.767 MB / 0.5 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.607e-05/0.1586, allocations: 45.7 kB / 0.5001 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.159, allocations: 0.4894 MB / 0.5006 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.1594, allocations: 428.2 kB / 0.501 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.1597, allocations: 182.9 kB / 0.5012 GB, free: 10.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1599, allocations: 349.9 kB / 0.5015 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006258/0.1605, allocations: 318.5 kB / 0.5018 GB, free: 10.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.1612, allocations: 479.5 kB / 0.5022 GB, free: 9.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1626, allocations: 0.8621 MB / 0.5031 GB, free: 8.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1626, allocations: 0 / 0.5031 GB, free: 8.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002287/0.1649, allocations: 1.161 MB / 0.5042 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1649, allocations: 9.562 kB / 0.5042 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.165, allocations: 4.438 kB / 0.5042 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.1655, allocations: 166.4 kB / 0.5044 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.1668, allocations: 307.6 kB / 0.5047 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.1715, allocations: 4.45 MB / 0.509 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.1726, allocations: 75.73 kB / 0.5091 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.1726, allocations: 39.98 kB / 0.5091 GB, free: 2.121 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004623/0.1731, allocations: 285.5 kB / 0.5094 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.1734, allocations: 115.3 kB / 0.5095 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.1755, allocations: 1.132 MB / 0.5106 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.1756, allocations: 15.94 kB / 0.5106 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1756, allocations: 0 / 0.5106 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.1756, allocations: 7.984 kB / 0.5107 GB, free: 0.543 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.003863/0.1794, allocations: 2.319 MB / 0.5129 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.1794, allocations: 4 kB / 0.5129 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.1806, allocations: 267.7 kB / 0.5132 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/0.1811, allocations: 154.4 kB / 0.5133 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/0.1811, allocations: 20 kB / 0.5133 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004369/0.1855, allocations: 4.448 MB / 0.5177 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1855, allocations: 3.938 kB / 0.5177 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.1876, allocations: 1.303 MB / 0.519 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.1882, allocations: 227.2 kB / 0.5192 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.1883, allocations: 24 kB / 0.5192 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/0.1892, allocations: 40 kB / 0.5192 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.1893, allocations: 87.77 kB / 0.5193 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.1894, allocations: 28 kB / 0.5194 GB, free: 7.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007304/0.1901, allocations: 0.5302 MB / 0.5199 GB, free: 6.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1901, allocations: 0 / 0.5199 GB, free: 6.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001212/0.1913, allocations: 411.7 kB / 0.5203 GB, free: 6.262 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002573/0.1939, allocations: 1.952 MB / 0.5222 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.1961, allocations: 1.223 MB / 0.5234 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1962, allocations: 0 / 0.5234 GB, free: 3.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.1974, allocations: 0.8134 MB / 0.5242 GB, free: 2.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.1985, allocations: 184.4 kB / 0.5243 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1948/0.3933, allocations: 8.185 MB / 0.5323 GB, free: 57.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.3941, allocations: 496.2 kB / 0.5328 GB, free: 57.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007037/0.3948, allocations: 143.5 kB / 0.5329 GB, free: 57.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006023/0.3954, allocations: 425.6 kB / 0.5333 GB, free: 57.15 MB / 398.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3954, allocations: 0 / 0.5333 GB, free: 57.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/0.4549, allocations: 25.82 MB / 0.5586 GB, free: 39.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.53, allocations: 12.05 kB / 0.5586 GB, free: 39.84 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ.fmu > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.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: 17.362858550040983]