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.007196/0.007196, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.00182/0.00182, allocations: 196 kB / 16.68 MB, free: 5.977 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.419/1.419, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06331/0.06331, allocations: 14.18 MB / 284.1 MB, free: 7 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.001596/0.001596, allocations: 75.89 kB / 396 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2827, allocations: 50.14 MB / 446.1 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.006702/0.2894, allocations: 7.284 MB / 453.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.2951, allocations: 3.541 MB / 457 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009338/0.2961, allocations: 12.75 kB / 457 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.2974, allocations: 416.8 kB / 457.4 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.3017, allocations: 1.625 MB / 459 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3029, allocations: 0.5798 MB / 459.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.3054, allocations: 1.845 MB / 461.4 MB, free: 6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.3058, allocations: 125.6 kB / 461.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.3069, allocations: 0.6269 MB / 462.2 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.3081, allocations: 0.6447 MB / 462.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.3083, allocations: 61.84 kB / 462.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.3097, allocations: 427.1 kB / 463.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.3099, allocations: 159.2 kB / 463.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.311, allocations: 0.5397 MB / 464 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.3135, allocations: 1.522 MB / 465.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3135, allocations: 1.031 kB / 465.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3135, allocations: 0 / 465.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.3136, allocations: 0 / 465.5 MB, free: 3.434 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.006052/0.3196, allocations: 1.759 MB / 467.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.3197, allocations: 16.03 kB / 467.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.3199, allocations: 118.7 kB / 467.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007172/0.3206, allocations: 164.2 kB / 467.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.322, allocations: 0.6772 MB / 468.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.322, allocations: 58.12 kB / 468.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.38e-05/0.3221, allocations: 72 kB / 468.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.3233, allocations: 0.7732 MB / 469.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.3233, allocations: 0 / 469.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.3234, allocations: 32 kB / 469.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3234, allocations: 20 kB / 469.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.3246, allocations: 0.7026 MB / 469.9 MB, free: 15.18 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.006144/0.3308, allocations: 5.077 MB / 475 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.3325, allocations: 0.9628 MB / 475.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.3329, allocations: 306.7 kB / 476.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/0.333, allocations: 8.656 kB / 476.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.333, allocations: 43.16 kB / 476.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.333, allocations: 0 / 476.3 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.00294/0.336, allocations: 1.249 MB / 477.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.3361, allocations: 60.06 kB / 477.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.3368, allocations: 0.5498 MB / 478.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.3369, allocations: 37.7 kB / 478.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.3371, allocations: 376.6 kB / 478.6 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.3374, allocations: 277.5 kB / 478.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.3376, allocations: 138.6 kB / 479 MB, free: 5.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3378, allocations: 378.7 kB / 479.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.3382, allocations: 221.8 kB / 479.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.3386, allocations: 332.3 kB / 479.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.3395, allocations: 0.5859 MB / 480.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3395, allocations: 0 / 480.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001551/0.341, allocations: 0.8723 MB / 481.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3411, allocations: 4 kB / 481.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3411, allocations: 4 kB / 481.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.3417, allocations: 188.5 kB / 481.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008024/0.3425, allocations: 203.7 kB / 481.7 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/0.3457, allocations: 2.529 MB / 484.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/0.3465, allocations: 47.73 kB / 484.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.3465, allocations: 20 kB / 484.3 MB, free: 15.89 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.0003131/0.3469, allocations: 233.7 kB / 484.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.347, allocations: 79.53 kB / 484.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.3485, allocations: 0.8023 MB / 485.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3485, allocations: 8 kB / 485.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3485, allocations: 4 kB / 485.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3486, allocations: 7.984 kB / 485.4 MB, free: 14.73 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.002681/0.3512, allocations: 1.85 MB / 487.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3513, allocations: 0 / 487.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.352, allocations: 167.8 kB / 487.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.3525, allocations: 172.1 kB / 487.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.3526, allocations: 12 kB / 487.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.3556, allocations: 2.532 MB / 490.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3556, allocations: 0 / 490.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.357, allocations: 0.863 MB / 491 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.3575, allocations: 228.5 kB / 491.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.3576, allocations: 16 kB / 491.3 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.3582, allocations: 27.98 kB / 491.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3583, allocations: 48.53 kB / 491.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.3584, allocations: 20 kB / 491.4 MB, free: 8.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004984/0.3589, allocations: 386.8 kB / 491.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3589, allocations: 0 / 491.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009372/0.3598, allocations: 307.8 kB / 492 MB, free: 7.879 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.001856/0.3617, allocations: 1.477 MB / 493.5 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.3633, allocations: 0.8189 MB / 494.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3633, allocations: 4 kB / 494.3 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.3641, allocations: 0.5216 MB / 494.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/0.365, allocations: 121.4 kB / 495 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/0.3741, allocations: 5.836 MB / 0.4891 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.3747, allocations: 0.9386 MB / 0.49 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.3752, allocations: 97.28 kB / 0.4901 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.3756, allocations: 271.3 kB / 0.4904 GB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3756, allocations: 0 / 0.4904 GB, free: 13.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06156/0.4372, allocations: 17.36 MB / 0.5073 GB, free: 12.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.95, allocations: 16.08 kB / 0.5073 GB, free: 12.18 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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.csv","/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