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.001008/0.001008, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001036/0.001036, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8437/0.8437, allocations: 158.6 MB / 184.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.03743/0.03743, allocations: 10.65 MB / 247.1 MB, free: 4.711 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 368.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.717e-06/1.005e-05, allocations: 2.281 kB / 368.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.005543/0.005553, allocations: 8.797 MB / 376.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004173/0.009726, allocations: 4.102 MB / 381 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.01016, allocations: 31.81 kB / 381 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.01091, allocations: 0.5045 MB / 381.5 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.01308, allocations: 1.991 MB / 383.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.01348, allocations: 366.4 kB / 383.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.01513, allocations: 3.097 MB / 387 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.0153, allocations: 102.5 kB / 387.1 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000899/0.0162, allocations: 1.426 MB / 388.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005675/0.01676, allocations: 0.7828 MB / 389.3 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.01685, allocations: 96 kB / 389.4 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.0173, allocations: 423.5 kB / 389.8 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.01742, allocations: 254.7 kB / 390 MB, free: 352 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.01778, allocations: 0.5881 MB / 390.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.0191, allocations: 2.088 MB / 392.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.01911, allocations: 0 / 392.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01911, allocations: 4 kB / 392.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.01912, allocations: 3.938 kB / 392.7 MB, free: 13.65 MB / 330.7 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.003956/0.02307, allocations: 2.526 MB / 395.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.02311, allocations: 12.03 kB / 395.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/0.02323, allocations: 156.9 kB / 395.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.02366, allocations: 231.9 kB / 395.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009955/0.02465, allocations: 0.9081 MB / 396.6 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.02469, allocations: 82.12 kB / 396.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.02477, allocations: 100 kB / 396.7 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009854/0.02576, allocations: 1.066 MB / 397.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.02577, allocations: 0 / 397.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.02583, allocations: 47.92 kB / 397.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.02585, allocations: 32 kB / 397.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.02685, allocations: 1.007 MB / 398.9 MB, free: 7.348 MB / 330.7 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.003299/0.03015, allocations: 3.436 MB / 402.3 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.03146, allocations: 1.099 MB / 403.4 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.03182, allocations: 355.8 kB / 403.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.03187, allocations: 12 kB / 403.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.0319, allocations: 58.81 kB / 403.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 2.064e-06/0.0319, allocations: 4 kB / 403.8 MB, free: 2.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.001797/0.0337, allocations: 1.454 MB / 405.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.03375, allocations: 126.7 kB / 405.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.03435, allocations: 0.7824 MB / 406.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.03439, allocations: 41.7 kB / 406.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.0346, allocations: 0.4894 MB / 406.7 MB, free: 15.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.03481, allocations: 416.3 kB / 407.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.03497, allocations: 182.9 kB / 407.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.03506, allocations: 345.9 kB / 407.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.0354, allocations: 314.5 kB / 408 MB, free: 14.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.03581, allocations: 483.5 kB / 408.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.03661, allocations: 0.8693 MB / 409.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.03661, allocations: 0 / 409.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001193/0.03781, allocations: 1.158 MB / 410.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.03782, allocations: 4 kB / 410.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.03783, allocations: 4 kB / 410.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/0.03815, allocations: 162.8 kB / 410.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005941/0.03875, allocations: 311.6 kB / 410.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.04114, allocations: 4.454 MB / 415.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.04156, allocations: 83.67 kB / 415.5 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.0416, allocations: 36 kB / 415.5 MB, free: 6.051 MB / 346.7 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.0002471/0.04184, allocations: 277.5 kB / 415.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.04197, allocations: 127.2 kB / 415.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.04311, allocations: 1.121 MB / 417 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.04312, allocations: 12 kB / 417 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.04313, allocations: 7.938 kB / 417 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.04313, allocations: 7.969 kB / 417 MB, free: 4.477 MB / 346.7 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.002154/0.04529, allocations: 2.319 MB / 419.4 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.04529, allocations: 3.984 kB / 419.4 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.0458, allocations: 263.7 kB / 419.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.04604, allocations: 154.4 kB / 419.8 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.04608, allocations: 27.92 kB / 419.8 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.04823, allocations: 4.433 MB / 424.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.04823, allocations: 0 / 424.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.04933, allocations: 1.311 MB / 425.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.04961, allocations: 231 kB / 425.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.04968, allocations: 16 kB / 425.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.05006, allocations: 47.94 kB / 425.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.05015, allocations: 79.78 kB / 425.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.05018, allocations: 31.94 kB / 425.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004107/0.05059, allocations: 0.5342 MB / 426.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05059, allocations: 0 / 426.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006371/0.05123, allocations: 407.8 kB / 426.9 MB, free: 10.21 MB / 362.7 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.001428/0.05265, allocations: 1.948 MB / 428.8 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.05376, allocations: 1.214 MB / 430 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.05377, allocations: 0 / 430 MB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.05437, allocations: 0.829 MB / 430.9 MB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.05499, allocations: 175.6 kB / 431 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1178/0.1728, allocations: 8.233 MB / 439.3 MB, free: 68.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1732, allocations: 495.4 kB / 439.8 MB, free: 68.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004162/0.1736, allocations: 144.7 kB / 439.9 MB, free: 68.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.1739, allocations: 424.9 kB / 440.3 MB, free: 68.3 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1739, allocations: 1.406 kB / 440.3 MB, free: 68.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.2154, allocations: 26.18 MB / 466.5 MB, free: 55.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.463, allocations: 7.609 kB / 466.5 MB, free: 55.39 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.LoadImpedancePQ_res.mat","/var/lib/jenkins/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: 9.246538817882538]