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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007093/0.007093, allocations: 105.9 kB / 15.74 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 197 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06451/0.06451, allocations: 14.17 MB / 284.1 MB, free: 6.965 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 71.91 kB / 396 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2618, allocations: 50.14 MB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.006525/0.2684, allocations: 7.288 MB / 453.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.2737, allocations: 3.541 MB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006022/0.2743, allocations: 13.47 kB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009752/0.2753, allocations: 420.4 kB / 457.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003633/0.279, allocations: 1.575 MB / 459 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.2801, allocations: 0.5671 MB / 459.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.2824, allocations: 1.853 MB / 461.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.2826, allocations: 126.8 kB / 461.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.2838, allocations: 0.6241 MB / 462.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007817/0.2846, allocations: 0.6411 MB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.47e-05/0.2847, allocations: 61.75 kB / 462.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009942/0.2857, allocations: 438.1 kB / 463.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.2858, allocations: 160.4 kB / 463.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.2864, allocations: 0.5353 MB / 463.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.2883, allocations: 1.512 MB / 465.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2883, allocations: 1.281 kB / 465.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2883, allocations: 0 / 465.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.2884, allocations: 0 / 465.5 MB, free: 3.461 MB / 334.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.005462/0.2938, allocations: 1.736 MB / 467.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2939, allocations: 8.031 kB / 467.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.294, allocations: 118.8 kB / 467.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.2947, allocations: 151.7 kB / 467.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.2959, allocations: 0.6804 MB / 468.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/0.296, allocations: 58.12 kB / 468.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/0.2961, allocations: 72 kB / 468.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.2972, allocations: 0.7654 MB / 469 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2972, allocations: 3.938 kB / 469 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/0.2973, allocations: 32.08 kB / 469.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2973, allocations: 20 kB / 469.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2984, allocations: 0.7065 MB / 469.8 MB, free: 15.25 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.005997/0.3044, allocations: 5.098 MB / 474.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.3061, allocations: 0.9626 MB / 475.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.3065, allocations: 302.7 kB / 476.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.293e-05/0.3066, allocations: 12.59 kB / 476.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3066, allocations: 47.22 kB / 476.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.126e-06/0.3066, allocations: 0 / 476.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.002943/0.3096, allocations: 1.236 MB / 477.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3097, allocations: 60.06 kB / 477.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.3103, allocations: 0.5539 MB / 478.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.3104, allocations: 37.7 kB / 478.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000229/0.3106, allocations: 363.9 kB / 478.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.3109, allocations: 272 kB / 478.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3111, allocations: 130.6 kB / 478.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3112, allocations: 378.8 kB / 479.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3116, allocations: 217.9 kB / 479.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.312, allocations: 336.3 kB / 479.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000811/0.3128, allocations: 0.5859 MB / 480.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3128, allocations: 0 / 480.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001494/0.3143, allocations: 0.8641 MB / 481.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3144, allocations: 8 kB / 481.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3144, allocations: 3.984 kB / 481.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.315, allocations: 185 kB / 481.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.3158, allocations: 199.7 kB / 481.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.3188, allocations: 2.555 MB / 484.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008443/0.3197, allocations: 43.78 kB / 484.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.3197, allocations: 24 kB / 484.2 MB, free: 15.95 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.0003396/0.3201, allocations: 225.7 kB / 484.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.3202, allocations: 79.06 kB / 484.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3217, allocations: 0.8022 MB / 485.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.3217, allocations: 8 kB / 485.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3217, allocations: 8 kB / 485.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3217, allocations: 3.984 kB / 485.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.3245, allocations: 1.85 MB / 487.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3245, allocations: 0 / 487.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.3252, allocations: 163.8 kB / 487.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005571/0.3258, allocations: 180.5 kB / 487.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/0.3259, allocations: 8 kB / 487.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/0.3291, allocations: 2.536 MB / 490.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3291, allocations: 4.031 kB / 490.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.3306, allocations: 0.8625 MB / 490.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.331, allocations: 228 kB / 491.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.3311, allocations: 16 kB / 491.2 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.3316, allocations: 20 kB / 491.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.3317, allocations: 52.52 kB / 491.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.3318, allocations: 24 kB / 491.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.3323, allocations: 382.8 kB / 491.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3323, allocations: 0 / 491.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009012/0.3332, allocations: 307.7 kB / 491.9 MB, free: 7.941 MB / 366.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.001673/0.3349, allocations: 1.477 MB / 493.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.3362, allocations: 0.7993 MB / 494.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3362, allocations: 0 / 494.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007652/0.337, allocations: 0.5214 MB / 494.7 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.3377, allocations: 109.3 kB / 494.8 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007883/0.3456, allocations: 5.787 MB / 0.4889 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.3461, allocations: 0.9503 MB / 0.4898 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003859/0.3465, allocations: 85.31 kB / 0.4899 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.3469, allocations: 271.3 kB / 0.4902 GB, free: 13.72 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3469, allocations: 4 kB / 0.4902 GB, free: 13.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.3887, allocations: 17.79 MB / 0.5075 GB, free: 11.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.9, allocations: 11.45 kB / 0.5076 GB, free: 11.89 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) 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) Reference file matches