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.001664/0.001664, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002633/0.002633, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.538/1.538, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.08576/0.08576, allocations: 14.38 MB / 300.5 MB, free: 7.434 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.002169/0.002169, allocations: 67.91 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07901, allocations: 52.9 MB / 474.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01093/0.08994, allocations: 10.03 MB / 484.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00747/0.09741, allocations: 4.433 MB / 488.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.09917, allocations: 31.81 kB / 488.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.1011, allocations: 0.532 MB / 489.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.1073, allocations: 2.012 MB / 491.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1085, allocations: 382.3 kB / 491.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004247/0.1127, allocations: 2.891 MB / 494.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.1131, allocations: 100.5 kB / 494.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.1149, allocations: 0.9886 MB / 495.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.1164, allocations: 0.9688 MB / 496.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.1166, allocations: 92 kB / 496.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1178, allocations: 443.7 kB / 497.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.118, allocations: 246.8 kB / 497.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008805/0.1189, allocations: 0.8241 MB / 498.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.122, allocations: 2.121 MB / 0.4887 GB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.122, allocations: 0 / 0.4887 GB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.122, allocations: 0 / 0.4887 GB, free: 8.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.985e-05/0.122, allocations: 0 / 0.4887 GB, free: 8.09 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.009466/0.1315, allocations: 2.534 MB / 0.4912 GB, free: 5.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1315, allocations: 8.031 kB / 0.4912 GB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.843e-05/0.1316, allocations: 30.31 kB / 0.4912 GB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/0.1318, allocations: 160.9 kB / 0.4913 GB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009562/0.1327, allocations: 243.6 kB / 0.4916 GB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.1347, allocations: 0.9042 MB / 0.4925 GB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/0.1348, allocations: 74.12 kB / 0.4925 GB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.1349, allocations: 104 kB / 0.4926 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.1367, allocations: 1.062 MB / 0.4937 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.1368, allocations: 0 / 0.4937 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.1369, allocations: 48 kB / 0.4937 GB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.1369, allocations: 24 kB / 0.4937 GB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.1387, allocations: 1.042 MB / 0.4947 GB, free: 1.719 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.009308/0.148, allocations: 6.645 MB / 0.5012 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.1506, allocations: 1.081 MB / 0.5023 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.1512, allocations: 355.7 kB / 0.5026 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.1513, allocations: 24 kB / 0.5027 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.1514, allocations: 46.5 kB / 0.5027 GB, free: 8.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.927e-06/0.1514, allocations: 0 / 0.5027 GB, free: 8.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.00366/0.155, allocations: 1.458 MB / 0.5041 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.1551, allocations: 118.8 kB / 0.5042 GB, free: 7.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1562, allocations: 0.7709 MB / 0.505 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.1563, allocations: 45.7 kB / 0.505 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.1567, allocations: 0.4932 MB / 0.5055 GB, free: 5.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.1572, allocations: 424.3 kB / 0.5059 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.1575, allocations: 190.8 kB / 0.5061 GB, free: 5.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1576, allocations: 341.9 kB / 0.5064 GB, free: 4.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006158/0.1583, allocations: 318.5 kB / 0.5067 GB, free: 4.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/0.159, allocations: 491.5 kB / 0.5072 GB, free: 4.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.1604, allocations: 0.866 MB / 0.508 GB, free: 3.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1604, allocations: 0 / 0.508 GB, free: 3.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002385/0.1628, allocations: 1.158 MB / 0.5092 GB, free: 1.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1628, allocations: 8 kB / 0.5092 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1628, allocations: 4 kB / 0.5092 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.1635, allocations: 166.6 kB / 0.5093 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.1648, allocations: 303.6 kB / 0.5096 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/0.1695, allocations: 4.496 MB / 0.514 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.1706, allocations: 75.61 kB / 0.5141 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.1707, allocations: 44.05 kB / 0.5141 GB, free: 12.52 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.0004998/0.1712, allocations: 285.5 kB / 0.5144 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.1715, allocations: 115.3 kB / 0.5145 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.1738, allocations: 1.128 MB / 0.5156 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.1738, allocations: 12 kB / 0.5156 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.1738, allocations: 4 kB / 0.5156 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.1739, allocations: 3.984 kB / 0.5156 GB, free: 10.95 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.004514/0.1784, allocations: 2.808 MB / 0.5184 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.1784, allocations: 4.141 kB / 0.5184 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.1796, allocations: 267.7 kB / 0.5186 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/0.1801, allocations: 158.4 kB / 0.5188 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.1801, allocations: 27.94 kB / 0.5188 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/0.1847, allocations: 4.472 MB / 0.5232 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1847, allocations: 3.938 kB / 0.5232 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.1871, allocations: 1.307 MB / 0.5245 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/0.1877, allocations: 239 kB / 0.5247 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.1879, allocations: 16 kB / 0.5247 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/0.1888, allocations: 39.94 kB / 0.5248 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.189, allocations: 79.78 kB / 0.5248 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/0.189, allocations: 28.19 kB / 0.5249 GB, free: 1.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007687/0.1898, allocations: 0.5341 MB / 0.5254 GB, free: 492 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1898, allocations: 8 kB / 0.5254 GB, free: 484 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.001305/0.1911, allocations: 411.7 kB / 0.5258 GB, free: 72 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.201/0.3921, allocations: 1.936 MB / 0.5277 GB, free: 57.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.3942, allocations: 1.223 MB / 0.5289 GB, free: 57.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3942, allocations: 4.094 kB / 0.5289 GB, free: 57.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.3953, allocations: 0.818 MB / 0.5297 GB, free: 57.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.3968, allocations: 175.4 kB / 0.5298 GB, free: 57.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.4096, allocations: 8.201 MB / 0.5378 GB, free: 53.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.4103, allocations: 1.075 MB / 0.5389 GB, free: 52.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006839/0.411, allocations: 146.4 kB / 0.539 GB, free: 52.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.4116, allocations: 426.2 kB / 0.5394 GB, free: 52.12 MB / 398.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4116, allocations: 0.7188 kB / 0.5394 GB, free: 52.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/0.4675, allocations: 25.54 MB / 0.5644 GB, free: 33.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.15, allocations: 11.95 kB / 0.5644 GB, free: 33.78 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: 17.119406142039225]