Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",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.005874/0.005874, allocations: 97.17 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.001403/0.001403, allocations: 194.5 kB / 16.68 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.419/1.419, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06294/0.06294, allocations: 14.17 MB / 284.1 MB, free: 6.988 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.001547/0.001547, allocations: 68.12 kB / 396 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2856, allocations: 50.15 MB / 446.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007118/0.2927, allocations: 7.154 MB / 453.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006253/0.299, allocations: 3.523 MB / 456.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007593/0.2998, allocations: 21.47 kB / 456.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.301, allocations: 413.5 kB / 457.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.3049, allocations: 1.608 MB / 458.9 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3062, allocations: 0.5659 MB / 459.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00263/0.3088, allocations: 1.829 MB / 461.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.3091, allocations: 124.2 kB / 461.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3102, allocations: 0.6228 MB / 462 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.3112, allocations: 0.6217 MB / 462.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3114, allocations: 65.72 kB / 462.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.3127, allocations: 424.5 kB / 463.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3128, allocations: 160 kB / 463.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00077/0.3136, allocations: 0.5393 MB / 463.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.3159, allocations: 1.498 MB / 465.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3159, allocations: 0 / 465.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3159, allocations: 0 / 465.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3159, allocations: 1.219 kB / 465.3 MB, free: 3.602 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005453/0.3214, allocations: 1.718 MB / 467 MB, free: 2.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3215, allocations: 15.97 kB / 467 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.3216, allocations: 118.7 kB / 467.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006299/0.3222, allocations: 148.3 kB / 467.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3236, allocations: 0.6849 MB / 468 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.3237, allocations: 58.12 kB / 468 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/0.3238, allocations: 68 kB / 468.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3249, allocations: 0.7554 MB / 468.8 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.579e-05/0.325, allocations: 4 kB / 468.8 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3251, allocations: 31.98 kB / 468.9 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.3252, allocations: 20 kB / 468.9 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.3262, allocations: 0.6674 MB / 469.6 MB, free: 15.51 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.006605/0.3328, allocations: 5.202 MB / 474.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.3344, allocations: 0.9453 MB / 475.7 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.3348, allocations: 282.8 kB / 476 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.3349, allocations: 8.656 kB / 476 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3349, allocations: 43.22 kB / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.156e-06/0.335, allocations: 0 / 476 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005087/0.34, allocations: 1.644 MB / 477.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3401, allocations: 60.06 kB / 477.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.341, allocations: 0.5654 MB / 478.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.341, allocations: 37.7 kB / 478.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.3413, allocations: 364.7 kB / 478.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/0.3416, allocations: 285.5 kB / 479 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.3419, allocations: 130.6 kB / 479.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3421, allocations: 382.7 kB / 479.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.3424, allocations: 209.9 kB / 479.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.3429, allocations: 343.7 kB / 480 MB, free: 4.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.3437, allocations: 0.6048 MB / 480.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3437, allocations: 0 / 480.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001929/0.3456, allocations: 0.9703 MB / 481.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3457, allocations: 8 kB / 481.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3457, allocations: 4 kB / 481.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.3469, allocations: 303.5 kB / 481.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.3475, allocations: 167.7 kB / 482.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004929/0.3525, allocations: 3.395 MB / 485.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.3533, allocations: 51.72 kB / 485.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.3534, allocations: 28 kB / 485.5 MB, free: 14.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.3537, allocations: 225.6 kB / 485.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.3539, allocations: 75.53 kB / 485.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.3557, allocations: 0.8998 MB / 486.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.3558, allocations: 8 kB / 486.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3558, allocations: 0 / 486.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3558, allocations: 3.984 kB / 486.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.3587, allocations: 1.932 MB / 488.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3588, allocations: 4 kB / 488.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.3593, allocations: 127.8 kB / 488.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009993/0.3603, allocations: 301 kB / 489.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.3605, allocations: 15.98 kB / 489.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/0.3649, allocations: 3.268 MB / 492.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.365, allocations: 0 / 492.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.3667, allocations: 0.9564 MB / 493.3 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.3672, allocations: 232.4 kB / 493.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.3674, allocations: 15.94 kB / 493.6 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.3679, allocations: 27.92 kB / 493.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.368, allocations: 52.58 kB / 493.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.3681, allocations: 24 kB / 493.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004837/0.3686, allocations: 398.8 kB / 494.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3686, allocations: 0 / 494.1 MB, free: 5.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009944/0.3696, allocations: 335.8 kB / 494.4 MB, free: 5.484 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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002361/0.372, allocations: 1.563 MB / 496 MB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.3737, allocations: 0.8646 MB / 496.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3737, allocations: 4.125 kB / 496.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009468/0.3747, allocations: 0.5673 MB / 497.4 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.3754, allocations: 113.4 kB / 497.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00967/0.3851, allocations: 6.119 MB / 0.4918 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.3858, allocations: 0.9389 MB / 0.4927 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.3862, allocations: 81.33 kB / 0.4928 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.3866, allocations: 259.3 kB / 0.4931 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3866, allocations: 0 / 0.4931 GB, free: 10.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.4327, allocations: 20.02 MB / 0.5126 GB, free: 6.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.42, allocations: 11.78 kB / 0.5126 GB, free: 6.664 MB / 398.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.sim & python3 -m fmpy simulate --output-file PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_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_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches