Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.001851/0.001851, allocations: 116.1 kB / 17.17 MB, free: 6 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.001816/0.001816, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.502/1.502, allocations: 207.6 MB / 230.5 MB, free: 4.004 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.06986/0.06986, allocations: 14.41 MB / 296.8 MB, free: 1.879 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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.002208/0.002208, allocations: 75.91 kB / 416.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2726, allocations: 52.88 MB / 469 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.009309/0.2819, allocations: 7.32 MB / 476.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00757/0.2895, allocations: 3.554 MB / 479.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.2908, allocations: 19.94 kB / 479.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.2924, allocations: 429.6 kB / 480.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.2976, allocations: 1.597 MB / 481.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.299, allocations: 0.5955 MB / 482.5 MB, free: 208 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003162/0.3022, allocations: 1.847 MB / 484.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.3025, allocations: 70.3 kB / 484.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.3039, allocations: 0.6421 MB / 485.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.3052, allocations: 0.6381 MB / 485.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.3054, allocations: 60 kB / 485.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3069, allocations: 435.7 kB / 486.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.3071, allocations: 159.2 kB / 486.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.3082, allocations: 0.5442 MB / 486.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002982/0.3112, allocations: 1.508 MB / 488.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3112, allocations: 8 kB / 488.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3112, allocations: 0 / 488.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.3113, allocations: 0 / 488.4 MB, free: 10.27 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00678/0.3181, allocations: 1.764 MB / 490.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.3181, allocations: 8.031 kB / 490.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.279e-05/0.3182, allocations: 26.19 kB / 490.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002465/0.3184, allocations: 118.8 kB / 490.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008099/0.3192, allocations: 156.2 kB / 490.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.321, allocations: 0.685 MB / 491.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.321, allocations: 53.94 kB / 491.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3212, allocations: 72 kB / 491.3 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.3226, allocations: 0.7654 MB / 492.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3226, allocations: 0 / 492.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.3227, allocations: 32 kB / 492.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3227, allocations: 20 kB / 492.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.324, allocations: 0.7026 MB / 492.8 MB, free: 5.738 MB / 350.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.007405/0.3314, allocations: 5.118 MB / 497.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3333, allocations: 0.8963 MB / 498.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.3338, allocations: 266.6 kB / 499.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.3338, allocations: 8.656 kB / 499.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3339, allocations: 43.22 kB / 499.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.3339, allocations: 0 / 499.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.00323/0.3371, allocations: 1.249 MB / 0.4887 GB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.3372, allocations: 64 kB / 0.4887 GB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000861/0.338, allocations: 0.5459 MB / 0.4893 GB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.3381, allocations: 37.7 kB / 0.4893 GB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.3384, allocations: 376.6 kB / 0.4897 GB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.3387, allocations: 289.5 kB / 0.4899 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3389, allocations: 130.6 kB / 0.4901 GB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3391, allocations: 370.8 kB / 0.4904 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.3395, allocations: 213.9 kB / 0.4906 GB, free: 11.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.34, allocations: 336.3 kB / 0.4909 GB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000937/0.3409, allocations: 0.5936 MB / 0.4915 GB, free: 10.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3409, allocations: 0 / 0.4915 GB, free: 10.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001695/0.3426, allocations: 0.8606 MB / 0.4924 GB, free: 9.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3427, allocations: 8 kB / 0.4924 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3427, allocations: 4 kB / 0.4924 GB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006466/0.3433, allocations: 177 kB / 0.4925 GB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.3442, allocations: 195.8 kB / 0.4927 GB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.3478, allocations: 2.548 MB / 0.4952 GB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.3485, allocations: 47.73 kB / 0.4953 GB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.3486, allocations: 24.05 kB / 0.4953 GB, free: 6.516 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003818/0.349, allocations: 229.6 kB / 0.4955 GB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.3492, allocations: 83.47 kB / 0.4956 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.3508, allocations: 0.7906 MB / 0.4963 GB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.3508, allocations: 8.094 kB / 0.4964 GB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3508, allocations: 4 kB / 0.4964 GB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.3509, allocations: 7.969 kB / 0.4964 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.3539, allocations: 1.85 MB / 0.4982 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3539, allocations: 0 / 0.4982 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.3546, allocations: 159.8 kB / 0.4983 GB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/0.3551, allocations: 172.4 kB / 0.4985 GB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.3552, allocations: 15.94 kB / 0.4985 GB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/0.3585, allocations: 2.559 MB / 0.501 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3585, allocations: 0 / 0.501 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.3601, allocations: 0.8552 MB / 0.5018 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.3605, allocations: 224.5 kB / 0.5021 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3606, allocations: 12 kB / 0.5021 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.3611, allocations: 20 kB / 0.5021 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.3612, allocations: 56.45 kB / 0.5021 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.3613, allocations: 16 kB / 0.5022 GB, free: 15.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005221/0.3618, allocations: 386.8 kB / 0.5025 GB, free: 14.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3618, allocations: 4 kB / 0.5025 GB, free: 14.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009113/0.3627, allocations: 311.8 kB / 0.5028 GB, free: 14.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001897/0.3646, allocations: 1.469 MB / 0.5043 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.366, allocations: 0.7563 MB / 0.505 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.366, allocations: 8.062 kB / 0.505 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.3668, allocations: 486 kB / 0.5055 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.3676, allocations: 109.8 kB / 0.5056 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00872/0.3763, allocations: 5.817 MB / 0.5113 GB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/0.3771, allocations: 0.9386 MB / 0.5122 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.3775, allocations: 97.3 kB / 0.5123 GB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.3779, allocations: 275.3 kB / 0.5125 GB, free: 4.332 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3779, allocations: 0 / 0.5125 GB, free: 4.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04673/0.4246, allocations: 17.62 MB / 0.5297 GB, free: 2.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.78, allocations: 3.938 kB / 0.5297 GB, free: 2.695 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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: 14.420546738023404]