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.001645/0.001645, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001913/0.001913, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.533/1.533, allocations: 207.6 MB / 233 MB, free: 10.01 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.07708/0.07708, allocations: 14.39 MB / 299.7 MB, free: 7.453 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.LoadImpedancePQ,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_LoadImpedancePQ",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.002417/0.002417, allocations: 71.91 kB / 420.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.1008, allocations: 52.9 MB / 473.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01433/0.1152, allocations: 10.04 MB / 483.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.1254, allocations: 4.437 MB / 488 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.1276, allocations: 27.88 kB / 488 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002383/0.13, allocations: 0.5281 MB / 488.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.1363, allocations: 2.016 MB / 490.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1377, allocations: 378.3 kB / 491 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004877/0.1425, allocations: 2.887 MB / 493.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005277/0.1431, allocations: 104.5 kB / 493.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.1453, allocations: 0.9886 MB / 494.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.1473, allocations: 0.9688 MB / 495.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004835/0.1477, allocations: 96 kB / 496 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.1495, allocations: 439.7 kB / 496.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00049/0.15, allocations: 250.7 kB / 496.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.1518, allocations: 0.8202 MB / 497.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004346/0.1562, allocations: 2.117 MB / 499.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1562, allocations: 0 / 499.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1562, allocations: 0 / 499.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.102e-05/0.1562, allocations: 0 / 499.6 MB, free: 8.109 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.01044/0.1667, allocations: 2.538 MB / 0.4904 GB, free: 5.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.1667, allocations: 8.031 kB / 0.4904 GB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003553/0.1671, allocations: 168.9 kB / 0.4905 GB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.1684, allocations: 231.8 kB / 0.4908 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.171, allocations: 0.9081 MB / 0.4917 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.1711, allocations: 82.12 kB / 0.4917 GB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.1713, allocations: 100 kB / 0.4918 GB, free: 4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.1737, allocations: 1.062 MB / 0.4929 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.1737, allocations: 0 / 0.4929 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.1738, allocations: 44 kB / 0.4929 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.1739, allocations: 31.94 kB / 0.4929 GB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.176, allocations: 1.031 MB / 0.4939 GB, free: 1.77 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.01107/0.1871, allocations: 6.649 MB / 0.5004 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.1898, allocations: 1.087 MB / 0.5015 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.1905, allocations: 359.8 kB / 0.5018 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.1907, allocations: 12.78 kB / 0.5019 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.1907, allocations: 50.5 kB / 0.5019 GB, free: 8.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.506e-06/0.1907, allocations: 4 kB / 0.5019 GB, free: 8.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.004352/0.1951, allocations: 1.458 MB / 0.5033 GB, free: 7.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.1951, allocations: 114.8 kB / 0.5034 GB, free: 7.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.1967, allocations: 0.7825 MB / 0.5042 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.1968, allocations: 45.7 kB / 0.5042 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004742/0.1973, allocations: 0.4894 MB / 0.5047 GB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005807/0.1979, allocations: 424.3 kB / 0.5051 GB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.1982, allocations: 178.9 kB / 0.5053 GB, free: 5.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1984, allocations: 349.9 kB / 0.5056 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.1991, allocations: 318.5 kB / 0.5059 GB, free: 4.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008319/0.2, allocations: 479.5 kB / 0.5064 GB, free: 4.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.2015, allocations: 0.866 MB / 0.5072 GB, free: 3.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.2015, allocations: 7.938 kB / 0.5072 GB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002786/0.2043, allocations: 1.154 MB / 0.5084 GB, free: 2.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.2044, allocations: 9.5 kB / 0.5084 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2044, allocations: 4 kB / 0.5084 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.205, allocations: 162.6 kB / 0.5085 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.2065, allocations: 303.6 kB / 0.5088 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006104/0.2126, allocations: 4.5 MB / 0.5132 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.2142, allocations: 75.61 kB / 0.5133 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/0.2143, allocations: 43.97 kB / 0.5133 GB, free: 12.57 MB / 398.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.001005/0.2153, allocations: 285.5 kB / 0.5136 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006685/0.216, allocations: 119.3 kB / 0.5137 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.2189, allocations: 1.128 MB / 0.5148 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.2189, allocations: 12 kB / 0.5148 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.2189, allocations: 0 / 0.5148 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.219, allocations: 7.984 kB / 0.5148 GB, free: 10.99 MB / 398.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.005574/0.2245, allocations: 2.804 MB / 0.5176 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/0.2246, allocations: 3.938 kB / 0.5176 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.2258, allocations: 267.7 kB / 0.5178 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.2263, allocations: 154.4 kB / 0.518 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.2265, allocations: 24 kB / 0.518 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.2313, allocations: 4.484 MB / 0.5224 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.2313, allocations: 7.969 kB / 0.5224 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.2339, allocations: 1.307 MB / 0.5237 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.2347, allocations: 235 kB / 0.5239 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/0.235, allocations: 20 kB / 0.5239 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.236, allocations: 43.94 kB / 0.524 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.2363, allocations: 79.78 kB / 0.524 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.2363, allocations: 28 kB / 0.5241 GB, free: 1.043 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009103/0.2372, allocations: 0.5303 MB / 0.5246 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2372, allocations: 0 / 0.5246 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001631/0.2389, allocations: 419.7 kB / 0.525 GB, free: 112 kB / 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.2146/0.4534, allocations: 1.937 MB / 0.5269 GB, free: 57.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.4557, allocations: 1.222 MB / 0.5281 GB, free: 57.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4557, allocations: 0.8438 kB / 0.5281 GB, free: 57.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4569, allocations: 0.823 MB / 0.5289 GB, free: 57.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.4582, allocations: 177.9 kB / 0.529 GB, free: 57.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.4708, allocations: 8.203 MB / 0.5371 GB, free: 53.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/0.4714, allocations: 1.075 MB / 0.5381 GB, free: 52.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006949/0.4721, allocations: 144.2 kB / 0.5382 GB, free: 52.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/0.4727, allocations: 425.8 kB / 0.5386 GB, free: 52.07 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4727, allocations: 3.562 kB / 0.5386 GB, free: 52.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/0.5357, allocations: 25.5 MB / 0.5636 GB, free: 33.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.91, allocations: 7.375 kB / 0.5636 GB, free: 33.81 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.79843165888451]