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.001301/0.001301, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.394/1.394, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05783/0.05783, allocations: 14.17 MB / 283.9 MB, free: 7.062 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.001784/0.001784, allocations: 79.81 kB / 345.2 MB, free: 19.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08622, allocations: 50.12 MB / 395.3 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007392/0.09365, allocations: 7.171 MB / 402.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.09843, allocations: 3.514 MB / 406 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.09883, allocations: 15.94 kB / 406 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.09965, allocations: 409.7 kB / 406.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.1025, allocations: 1.571 MB / 408 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000915/0.1035, allocations: 0.5714 MB / 408.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.1051, allocations: 1.805 MB / 410.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1053, allocations: 122.5 kB / 410.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005753/0.1059, allocations: 0.6032 MB / 411.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006225/0.1065, allocations: 0.6303 MB / 411.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.1066, allocations: 60 kB / 411.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007138/0.1073, allocations: 427.7 kB / 412.2 MB, free: 192 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1075, allocations: 163.2 kB / 412.3 MB, free: 24 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.1079, allocations: 0.5325 MB / 412.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.1092, allocations: 1.418 MB / 414.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1092, allocations: 0 / 414.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1092, allocations: 4 kB / 414.3 MB, free: 14.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1092, allocations: 0 / 414.3 MB, free: 14.06 MB / 318.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.004566/0.1138, allocations: 1.707 MB / 416 MB, free: 12.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1139, allocations: 8.031 kB / 416 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.114, allocations: 118.6 kB / 416.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000537/0.1145, allocations: 155.7 kB / 416.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009478/0.1155, allocations: 0.6609 MB / 416.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.1155, allocations: 66.11 kB / 417 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.1156, allocations: 64 kB / 417.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.1166, allocations: 0.7553 MB / 417.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1167, allocations: 3.938 kB / 417.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.1167, allocations: 32 kB / 417.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1167, allocations: 20 kB / 417.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009492/0.1177, allocations: 0.6714 MB / 418.5 MB, free: 9.664 MB / 318.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.005409/0.1231, allocations: 5.221 MB / 423.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.1246, allocations: 0.9474 MB / 424.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.125, allocations: 282.8 kB / 425 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.1251, allocations: 8.656 kB / 425 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1251, allocations: 39.22 kB / 425 MB, free: 2.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 1.934e-06/0.1251, allocations: 0 / 425 MB, free: 2.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004618/0.1297, allocations: 1.643 MB / 426.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.1298, allocations: 60.06 kB / 426.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.1304, allocations: 0.5615 MB / 427.3 MB, free: 276 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.1304, allocations: 41.7 kB / 427.3 MB, free: 228 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1584/0.2889, allocations: 350.4 kB / 427.7 MB, free: 38.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.2893, allocations: 272.1 kB / 427.9 MB, free: 37.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.2895, allocations: 136.8 kB / 428.1 MB, free: 37.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2897, allocations: 375.7 kB / 428.4 MB, free: 37.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.29, allocations: 213.6 kB / 428.7 MB, free: 37.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.2905, allocations: 339.6 kB / 429 MB, free: 37.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007328/0.2912, allocations: 0.6015 MB / 429.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2912, allocations: 1.375 kB / 429.6 MB, free: 37.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002033/0.2932, allocations: 0.9641 MB / 430.6 MB, free: 37.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.2933, allocations: 6.5 kB / 430.6 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.2933, allocations: 3.719 kB / 430.6 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.2944, allocations: 313.5 kB / 430.9 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.2951, allocations: 165.5 kB / 431 MB, free: 36.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004392/0.2995, allocations: 3.393 MB / 434.4 MB, free: 34.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/0.3003, allocations: 54.75 kB / 434.5 MB, free: 34.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.3003, allocations: 29.06 kB / 434.5 MB, free: 34.61 MB / 318.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.0002808/0.3006, allocations: 217.4 kB / 434.7 MB, free: 34.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3008, allocations: 73.38 kB / 434.8 MB, free: 34.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.3025, allocations: 0.8974 MB / 435.7 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3025, allocations: 11.84 kB / 435.7 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3025, allocations: 0 / 435.7 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3025, allocations: 4.266 kB / 435.7 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.306, allocations: 1.939 MB / 437.6 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3061, allocations: 1.344 kB / 437.6 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.3067, allocations: 129.8 kB / 437.8 MB, free: 32.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.3078, allocations: 302.9 kB / 438.1 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.3078, allocations: 15.41 kB / 438.1 MB, free: 32.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.3127, allocations: 3.274 MB / 441.4 MB, free: 30.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3127, allocations: 0 / 441.4 MB, free: 30.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.3147, allocations: 0.955 MB / 442.3 MB, free: 30.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.3151, allocations: 226.9 kB / 442.5 MB, free: 29.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.3153, allocations: 11.16 kB / 442.5 MB, free: 29.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.3159, allocations: 27.19 kB / 442.6 MB, free: 29.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3161, allocations: 51.2 kB / 442.6 MB, free: 29.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.3161, allocations: 19.84 kB / 442.6 MB, free: 29.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007647/0.3169, allocations: 396.9 kB / 443 MB, free: 29.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3169, allocations: 0 / 443 MB, free: 29.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3181, allocations: 333.3 kB / 443.4 MB, free: 29.57 MB / 318.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.002031/0.3201, allocations: 1.564 MB / 444.9 MB, free: 28.54 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.002033/0.3222, allocations: 0.8853 MB / 445.8 MB, free: 28.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3222, allocations: 0 / 445.8 MB, free: 28.13 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0008953/0.3231, allocations: 0.58 MB / 446.4 MB, free: 27.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.3238, allocations: 109.1 kB / 446.5 MB, free: 27.77 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008587/0.3324, allocations: 6.317 MB / 452.8 MB, free: 24.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3328, allocations: 0.9437 MB / 453.7 MB, free: 23.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004011/0.3332, allocations: 80.45 kB / 453.8 MB, free: 23.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.3335, allocations: 260.4 kB / 454.1 MB, free: 23.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3336, allocations: 3.938 kB / 454.1 MB, free: 23.2 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.032/2.365, allocations: 19.68 MB / 473.8 MB, free: 4.348 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/16.11, allocations: 11.38 kB / 473.8 MB, free: 4.34 MB / 318.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio_res.mat","/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