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.001575/0.001575, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001711/0.001711, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.482/1.482, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.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.06694/0.06694, allocations: 14.4 MB / 296.8 MB, free: 1.875 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.002186/0.002186, allocations: 63.91 kB / 416.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2533, allocations: 52.88 MB / 469 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.0121/0.2654, allocations: 10.01 MB / 479 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008178/0.2736, allocations: 4.429 MB / 483.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.2751, allocations: 31.81 kB / 483.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2765, allocations: 0.5281 MB / 484 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.2814, allocations: 2.01 MB / 486 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.2823, allocations: 394.6 kB / 486.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.2858, allocations: 2.864 MB / 489.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.286, allocations: 112.1 kB / 489.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.2873, allocations: 0.9964 MB / 490.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2885, allocations: 0.9532 MB / 491.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.2887, allocations: 100 kB / 491.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.2896, allocations: 439.7 kB / 491.9 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.2898, allocations: 246.8 kB / 492.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008233/0.2907, allocations: 0.8202 MB / 492.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.2934, allocations: 2.115 MB / 495.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2934, allocations: 0 / 495.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2934, allocations: 0 / 495.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.2934, allocations: 3.938 kB / 495.1 MB, free: 3.605 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.009203/0.3026, allocations: 2.617 MB / 497.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3026, allocations: 12.03 kB / 497.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.567e-05/0.3027, allocations: 26.31 kB / 497.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.3029, allocations: 156.9 kB / 497.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009736/0.3039, allocations: 235.6 kB / 498.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.3058, allocations: 0.9765 MB / 499.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.3059, allocations: 82.12 kB / 499.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.306, allocations: 100 kB / 499.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.3079, allocations: 1.066 MB / 0.4886 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.3079, allocations: 7.938 kB / 0.4886 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.221e-05/0.308, allocations: 40 kB / 0.4886 GB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.308, allocations: 28 kB / 0.4887 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.3099, allocations: 1.03 MB / 0.4897 GB, free: 13.06 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.009007/0.319, allocations: 6.715 MB / 0.4962 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002755/0.3217, allocations: 1.381 MB / 0.4976 GB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.3224, allocations: 363.7 kB / 0.4979 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.29e-05/0.3225, allocations: 20.12 kB / 0.4979 GB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.3225, allocations: 50.5 kB / 0.498 GB, free: 3.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.217e-06/0.3225, allocations: 0 / 0.498 GB, free: 3.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.003802/0.3263, allocations: 1.681 MB / 0.4996 GB, free: 1.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3264, allocations: 114.8 kB / 0.4997 GB, free: 1.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3274, allocations: 0.7786 MB / 0.5005 GB, free: 1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.3275, allocations: 41.7 kB / 0.5005 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.3279, allocations: 0.4894 MB / 0.501 GB, free: 468 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.3283, allocations: 428.2 kB / 0.5014 GB, free: 36 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.3286, allocations: 182.9 kB / 0.5016 GB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3288, allocations: 345.9 kB / 0.5019 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/0.3294, allocations: 326.4 kB / 0.5022 GB, free: 15.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.3301, allocations: 487.5 kB / 0.5027 GB, free: 14.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.3315, allocations: 0.8576 MB / 0.5035 GB, free: 13.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3315, allocations: 0 / 0.5035 GB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002317/0.3338, allocations: 1.158 MB / 0.5047 GB, free: 12.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.3338, allocations: 8 kB / 0.5047 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3338, allocations: 4 kB / 0.5047 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.3345, allocations: 162.5 kB / 0.5048 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.3358, allocations: 307.6 kB / 0.5051 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/0.3407, allocations: 4.802 MB / 0.5098 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3418, allocations: 75.59 kB / 0.5099 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.3419, allocations: 40 kB / 0.5099 GB, free: 6.77 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.0004805/0.3424, allocations: 285.6 kB / 0.5102 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/0.3426, allocations: 119.2 kB / 0.5103 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.345, allocations: 1.136 MB / 0.5114 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.345, allocations: 12 kB / 0.5114 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.345, allocations: 4 kB / 0.5114 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.345, allocations: 3.984 kB / 0.5115 GB, free: 5.18 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.004258/0.3493, allocations: 2.837 MB / 0.5142 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3493, allocations: 0 / 0.5142 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.3504, allocations: 271.7 kB / 0.5145 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.3509, allocations: 154.4 kB / 0.5146 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.351, allocations: 20 kB / 0.5146 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004807/0.3558, allocations: 4.791 MB / 0.5193 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3558, allocations: 4.031 kB / 0.5193 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.3581, allocations: 1.309 MB / 0.5206 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005048/0.3586, allocations: 304.1 kB / 0.5209 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3588, allocations: 20 kB / 0.5209 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008608/0.3596, allocations: 43.88 kB / 0.521 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.3598, allocations: 75.84 kB / 0.521 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.3598, allocations: 35.92 kB / 0.5211 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008084/0.3606, allocations: 0.5225 MB / 0.5216 GB, free: 10.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3606, allocations: 0 / 0.5216 GB, free: 10.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001322/0.362, allocations: 415.8 kB / 0.522 GB, free: 9.805 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.002728/0.3647, allocations: 1.956 MB / 0.5239 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.367, allocations: 1.215 MB / 0.5251 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.367, allocations: 4 kB / 0.5251 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.3683, allocations: 0.8083 MB / 0.5259 GB, free: 5.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3695, allocations: 187.9 kB / 0.526 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.3824, allocations: 8.21 MB / 0.5341 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.3832, allocations: 1.071 MB / 0.5351 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006365/0.3838, allocations: 151.7 kB / 0.5352 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.3845, allocations: 431.3 kB / 0.5357 GB, free: 11.39 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3845, allocations: 0 / 0.5357 GB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.445, allocations: 24.67 MB / 0.5598 GB, free: 2.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.56, allocations: 11.86 kB / 0.5598 GB, free: 2.672 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.281576771987602]