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.006253/0.006253, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001493/0.001493, allocations: 200.7 kB / 16.68 MB, free: 5.969 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.348/1.348, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06075/0.06075, allocations: 14.17 MB / 284.1 MB, free: 7.012 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.001825/0.001825, allocations: 67.91 kB / 396 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3087, allocations: 50.14 MB / 446.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.006742/0.3155, allocations: 7.292 MB / 453.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005453/0.321, allocations: 3.538 MB / 457 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008791/0.3219, allocations: 17.53 kB / 457 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.3231, allocations: 416.5 kB / 457.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.3271, allocations: 1.633 MB / 459 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3282, allocations: 0.571 MB / 459.6 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.331, allocations: 1.846 MB / 461.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003552/0.3314, allocations: 124.8 kB / 461.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.3326, allocations: 0.6327 MB / 462.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.3338, allocations: 0.6283 MB / 462.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.334, allocations: 61.94 kB / 462.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.3354, allocations: 437.8 kB / 463.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.3356, allocations: 156.1 kB / 463.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.3368, allocations: 0.5441 MB / 464 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002972/0.3398, allocations: 1.514 MB / 465.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3398, allocations: 1.375 kB / 465.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3398, allocations: 0 / 465.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.697e-05/0.3399, 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.00593/0.3458, allocations: 1.764 MB / 467.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3458, allocations: 8.031 kB / 467.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.346, allocations: 130.7 kB / 467.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.3466, allocations: 152.2 kB / 467.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3479, allocations: 0.685 MB / 468.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.348, allocations: 58.12 kB / 468.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.3481, allocations: 72 kB / 468.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.3492, allocations: 0.7732 MB / 469.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3492, allocations: 0 / 469.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.3493, allocations: 31.98 kB / 469.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.3493, allocations: 16 kB / 469.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3504, allocations: 0.7065 MB / 469.9 MB, free: 15.16 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.006276/0.3567, allocations: 5.106 MB / 475 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3584, allocations: 0.955 MB / 476 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.3588, allocations: 310.7 kB / 476.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.3589, allocations: 16.58 kB / 476.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.359, allocations: 39.22 kB / 476.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.267e-06/0.359, allocations: 4 kB / 476.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.003094/0.3621, allocations: 1.249 MB / 477.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3622, allocations: 60.06 kB / 477.6 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.363, allocations: 0.5459 MB / 478.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.363, allocations: 45.7 kB / 478.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.3633, allocations: 368.6 kB / 478.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.3635, allocations: 281.5 kB / 478.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.3637, allocations: 134.6 kB / 479 MB, free: 5.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3639, allocations: 374.8 kB / 479.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.3642, allocations: 221.9 kB / 479.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.3647, allocations: 336.3 kB / 479.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008646/0.3656, allocations: 0.5898 MB / 480.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3656, allocations: 0 / 480.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001594/0.3672, allocations: 0.8645 MB / 481.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3672, allocations: 8 kB / 481.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3672, allocations: 4 kB / 481.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.3678, allocations: 177 kB / 481.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/0.3686, allocations: 203.7 kB / 481.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/0.3719, allocations: 2.544 MB / 484.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.3728, allocations: 47.73 kB / 484.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.3728, allocations: 28 kB / 484.4 MB, free: 15.82 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.0003576/0.3732, allocations: 229.7 kB / 484.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.3734, allocations: 75.53 kB / 484.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.3749, allocations: 0.8062 MB / 485.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.3749, allocations: 4 kB / 485.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3749, allocations: 4 kB / 485.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3749, allocations: 7.984 kB / 485.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.3776, allocations: 1.858 MB / 487.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3777, allocations: 0 / 487.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.3784, allocations: 167.8 kB / 487.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/0.3789, allocations: 168.2 kB / 487.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.3789, allocations: 16 kB / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.382, allocations: 2.548 MB / 490.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.382, allocations: 4 kB / 490.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3835, allocations: 0.863 MB / 491.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.3839, allocations: 228.5 kB / 491.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.384, allocations: 16 kB / 491.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.3846, allocations: 16 kB / 491.4 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.3847, allocations: 52.52 kB / 491.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.3848, allocations: 24 kB / 491.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005206/0.3853, allocations: 382.8 kB / 491.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3853, allocations: 0 / 491.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009587/0.3863, allocations: 307.8 kB / 492.1 MB, free: 7.797 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.001757/0.388, allocations: 1.481 MB / 493.6 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.3895, allocations: 0.7993 MB / 494.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3895, allocations: 0 / 494.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.3903, allocations: 0.5215 MB / 494.9 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.391, allocations: 113.5 kB / 495 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00859/0.3996, allocations: 5.817 MB / 0.4891 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.4002, allocations: 0.9464 MB / 0.49 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.4007, allocations: 85.31 kB / 0.4901 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.4011, allocations: 271.3 kB / 0.4904 GB, free: 13.54 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4011, allocations: 4 kB / 0.4904 GB, free: 13.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.446, allocations: 17.37 MB / 0.5073 GB, free: 12.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.86, allocations: 15.92 kB / 0.5073 GB, free: 12.12 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 & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_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_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.csv","/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