Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.007377/0.007377, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.00172/0.00172, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.366/1.366, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06242/0.06242, allocations: 14.16 MB / 284.1 MB, free: 6.992 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.002346/0.002347, allocations: 67.84 kB / 396 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2723, allocations: 50.15 MB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.00662/0.279, allocations: 7.287 MB / 453.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005454/0.2845, allocations: 3.534 MB / 457 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007665/0.2853, allocations: 17.38 kB / 457 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.2864, allocations: 419.6 kB / 457.4 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.2903, allocations: 1.626 MB / 459 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.2914, allocations: 0.575 MB / 459.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.2937, allocations: 1.846 MB / 461.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.294, allocations: 131 kB / 461.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.2949, allocations: 0.6245 MB / 462.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008061/0.2957, allocations: 0.6404 MB / 462.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.857e-05/0.2958, allocations: 62.12 kB / 462.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.2969, allocations: 429.5 kB / 463.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.297, allocations: 164.7 kB / 463.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.2975, allocations: 0.5468 MB / 464 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.2995, allocations: 1.505 MB / 465.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2995, allocations: 0 / 465.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2995, allocations: 5.062 kB / 465.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2996, allocations: 0 / 465.5 MB, free: 3.422 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.005042/0.3046, allocations: 1.731 MB / 467.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3047, allocations: 8.031 kB / 467.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.3048, allocations: 118.8 kB / 467.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/0.3054, allocations: 159.6 kB / 467.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3066, allocations: 0.6765 MB / 468.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.3066, allocations: 62.12 kB / 468.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.3067, allocations: 72 kB / 468.3 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.3078, allocations: 0.7655 MB / 469.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3078, allocations: 7.938 kB / 469.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.3079, allocations: 28 kB / 469.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3079, allocations: 20 kB / 469.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.3089, allocations: 0.7065 MB / 469.9 MB, free: 15.2 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.005647/0.3146, allocations: 5.061 MB / 474.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.3162, allocations: 0.9704 MB / 475.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.3166, allocations: 306.7 kB / 476.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.3167, allocations: 12.64 kB / 476.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3167, allocations: 47.16 kB / 476.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.465e-06/0.3167, allocations: 0 / 476.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.0028/0.3195, allocations: 1.24 MB / 477.5 MB, free: 6.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3196, allocations: 60.06 kB / 477.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.3203, allocations: 0.55 MB / 478.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3203, allocations: 37.7 kB / 478.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.3206, allocations: 359.9 kB / 478.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.3208, allocations: 272 kB / 478.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.321, allocations: 134.6 kB / 478.9 MB, free: 5.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3212, allocations: 374.8 kB / 479.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.3216, allocations: 221.9 kB / 479.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.322, allocations: 332.3 kB / 479.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.3228, allocations: 0.5937 MB / 480.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3229, allocations: 0 / 480.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001459/0.3243, allocations: 0.8603 MB / 481.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3244, allocations: 8 kB / 481.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3244, allocations: 4 kB / 481.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005547/0.3249, allocations: 176.9 kB / 481.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.3257, allocations: 207.6 kB / 481.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.3286, allocations: 2.528 MB / 484.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.3293, allocations: 43.78 kB / 484.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3294, allocations: 28 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.0002957/0.3297, allocations: 221.7 kB / 484.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3298, allocations: 83 kB / 484.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.3311, allocations: 0.8023 MB / 485.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3312, allocations: 4 kB / 485.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3312, allocations: 7.984 kB / 485.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3312, allocations: 3.984 kB / 485.3 MB, free: 14.81 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 postOpt removeSimpleEquations (simulation): time 0.002377/0.3336, allocations: 1.854 MB / 487.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3336, allocations: 0 / 487.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006709/0.3343, allocations: 167.8 kB / 487.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.3347, allocations: 172.7 kB / 487.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.3348, allocations: 12 kB / 487.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.3375, allocations: 2.528 MB / 490.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3375, allocations: 0 / 490.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3388, allocations: 0.8664 MB / 490.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003262/0.3392, allocations: 228 kB / 491.2 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.3393, allocations: 8 kB / 491.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.3398, allocations: 19.98 kB / 491.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.3399, allocations: 52.53 kB / 491.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3399, allocations: 20 kB / 491.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004369/0.3403, allocations: 390.8 kB / 491.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3403, allocations: 0 / 491.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008039/0.3412, allocations: 303.8 kB / 491.9 MB, free: 7.953 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.001609/0.3428, allocations: 1.48 MB / 493.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.3441, allocations: 0.8189 MB / 494.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3441, allocations: 0 / 494.2 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007355/0.3448, allocations: 0.5294 MB / 494.8 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.3455, allocations: 117.3 kB / 494.9 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.3531, allocations: 5.802 MB / 0.489 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3536, allocations: 0.9386 MB / 0.4899 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003711/0.354, allocations: 97.28 kB / 0.49 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.3543, allocations: 271.3 kB / 0.4902 GB, free: 13.68 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3543, allocations: 0 / 0.4902 GB, free: 13.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.395, allocations: 17.35 MB / 0.5072 GB, free: 12.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.89, allocations: 12.39 kB / 0.5072 GB, free: 12.29 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches