Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.002057/0.002057, 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.002337/0.002337, 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.592/1.592, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.06967/0.06967, allocations: 14.4 MB / 296.8 MB, free: 1.883 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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.00225/0.00225, allocations: 72.47 kB / 416.2 MB, free: 8.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2771, allocations: 52.87 MB / 469 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.01081/0.288, allocations: 7.32 MB / 476.3 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007104/0.2951, allocations: 3.556 MB / 479.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.2962, allocations: 23.88 kB / 479.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.2977, allocations: 413.7 kB / 480.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.3018, allocations: 1.608 MB / 481.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.303, allocations: 0.5955 MB / 482.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.3054, allocations: 1.852 MB / 484.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.3056, allocations: 74.28 kB / 484.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008347/0.3065, allocations: 0.6382 MB / 485.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007969/0.3073, allocations: 0.6498 MB / 485.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.3074, allocations: 64 kB / 485.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000911/0.3083, allocations: 431.6 kB / 486.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.3084, allocations: 163.2 kB / 486.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005515/0.309, allocations: 0.5442 MB / 486.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.3109, allocations: 1.528 MB / 488.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3109, allocations: 4 kB / 488.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3109, allocations: 0 / 488.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3109, allocations: 0 / 488.5 MB, free: 10.23 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.005728/0.3166, allocations: 1.761 MB / 490.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3167, allocations: 8.031 kB / 490.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.097e-05/0.3167, allocations: 26.19 kB / 490.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.3168, allocations: 118.8 kB / 490.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.3175, allocations: 156.2 kB / 490.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.3188, allocations: 0.6811 MB / 491.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.3189, allocations: 61.94 kB / 491.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.319, allocations: 72 kB / 491.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.3202, allocations: 0.7503 MB / 492.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3202, allocations: 4 kB / 492.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.3203, allocations: 32 kB / 492.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3203, allocations: 16 kB / 492.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3215, allocations: 0.7261 MB / 492.9 MB, free: 5.699 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.006778/0.3283, allocations: 4.828 MB / 497.7 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.3303, allocations: 1.096 MB / 498.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/0.3309, allocations: 282.7 kB / 499.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.466e-05/0.3309, allocations: 16.62 kB / 499.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.331, allocations: 43.22 kB / 499.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 3.486e-06/0.331, allocations: 0 / 499.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.003162/0.3341, allocations: 1.253 MB / 0.4886 GB, free: 13.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3342, allocations: 64.06 kB / 0.4887 GB, free: 13.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.3349, allocations: 0.5419 MB / 0.4892 GB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.335, allocations: 33.7 kB / 0.4893 GB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.3353, allocations: 356.9 kB / 0.4896 GB, free: 12.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.3356, allocations: 305.3 kB / 0.4899 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.3358, allocations: 134.6 kB / 0.49 GB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.3361, allocations: 378.7 kB / 0.4904 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.3364, allocations: 225.9 kB / 0.4906 GB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.3369, allocations: 316.9 kB / 0.4909 GB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000943/0.3379, allocations: 0.5708 MB / 0.4915 GB, free: 10.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3379, allocations: 0 / 0.4915 GB, free: 10.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001798/0.3397, allocations: 0.8568 MB / 0.4923 GB, free: 9.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3397, allocations: 4 kB / 0.4923 GB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3397, allocations: 4 kB / 0.4923 GB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006535/0.3403, allocations: 180.8 kB / 0.4925 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.3412, allocations: 195.8 kB / 0.4927 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.3447, allocations: 2.536 MB / 0.4951 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.3454, allocations: 47.73 kB / 0.4952 GB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.3454, allocations: 28 kB / 0.4952 GB, free: 6.574 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003556/0.3458, allocations: 221.8 kB / 0.4954 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3459, allocations: 79.53 kB / 0.4955 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.3476, allocations: 0.8298 MB / 0.4963 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3476, allocations: 8 kB / 0.4963 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3476, allocations: 0 / 0.4963 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3476, allocations: 7.969 kB / 0.4963 GB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.3508, allocations: 2.005 MB / 0.4983 GB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3508, allocations: 4 kB / 0.4983 GB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007379/0.3515, allocations: 163.8 kB / 0.4984 GB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/0.3521, allocations: 172.7 kB / 0.4986 GB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.3521, allocations: 12 kB / 0.4986 GB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.3555, allocations: 2.531 MB / 0.5011 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3555, allocations: 0 / 0.5011 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3572, allocations: 0.8864 MB / 0.502 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.3576, allocations: 228.5 kB / 0.5022 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3577, allocations: 16 kB / 0.5022 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.3582, allocations: 23.98 kB / 0.5022 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.3583, allocations: 48.59 kB / 0.5023 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.3584, allocations: 20.17 kB / 0.5023 GB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005415/0.3589, allocations: 378.8 kB / 0.5026 GB, free: 14.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3589, allocations: 0 / 0.5026 GB, free: 14.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009249/0.3598, allocations: 311.7 kB / 0.5029 GB, free: 14.35 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 (67): * Single equations (assignments): 66 * 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.002035/0.3619, allocations: 1.496 MB / 0.5044 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.3635, allocations: 0.7871 MB / 0.5052 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3635, allocations: 4.312 kB / 0.5052 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.3644, allocations: 0.5096 MB / 0.5057 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.3652, allocations: 121.6 kB / 0.5058 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/0.3748, allocations: 5.801 MB / 0.5115 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.3756, allocations: 0.9464 MB / 0.5124 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.376, allocations: 89.3 kB / 0.5125 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004755/0.3765, allocations: 279.3 kB / 0.5127 GB, free: 4.125 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3765, allocations: 4 kB / 0.5127 GB, free: 4.121 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/0.422, allocations: 17.8 MB / 0.5301 GB, free: 2.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 8.016 kB / 0.5301 GB, free: 2.297 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.586649085977115]