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.007369/0.007369, allocations: 101.2 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.001634/0.001634, allocations: 194.1 kB / 16.67 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.469/1.469, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06442/0.06442, allocations: 14.16 MB / 284.1 MB, free: 6.996 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.001691/0.001691, allocations: 79.88 kB / 396 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.276, allocations: 50.13 MB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007234/0.2832, allocations: 7.162 MB / 453.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006825/0.2901, allocations: 3.527 MB / 456.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.2912, allocations: 17.38 kB / 456.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.2926, allocations: 405.5 kB / 457.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005263/0.298, allocations: 1.562 MB / 458.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.2995, allocations: 0.57 MB / 459.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.3028, allocations: 1.825 MB / 461.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.3032, allocations: 127.3 kB / 461.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3044, allocations: 0.6232 MB / 461.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.3057, allocations: 0.6287 MB / 462.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3059, allocations: 61.88 kB / 462.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.3074, allocations: 432.2 kB / 463 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.3076, allocations: 156.2 kB / 463.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008254/0.3084, allocations: 0.5354 MB / 463.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.3114, allocations: 1.482 MB / 465.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3114, allocations: 1.156 kB / 465.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3114, allocations: 0 / 465.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.3115, allocations: 4 kB / 465.2 MB, free: 3.633 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.005218/0.3167, allocations: 1.692 MB / 466.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3167, allocations: 8.031 kB / 466.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.3169, allocations: 118.7 kB / 467 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/0.3175, allocations: 151.7 kB / 467.2 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.3187, allocations: 0.661 MB / 467.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.3188, allocations: 58.12 kB / 467.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/0.3189, allocations: 72 kB / 468 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.32, allocations: 0.7514 MB / 468.7 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3201, allocations: 4 kB / 468.7 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.3201, allocations: 31.98 kB / 468.8 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.3202, allocations: 24 kB / 468.8 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.3213, allocations: 0.6714 MB / 469.5 MB, free: 15.61 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.006195/0.3275, allocations: 5.19 MB / 474.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.3292, allocations: 0.9467 MB / 475.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004318/0.3296, allocations: 294.7 kB / 475.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.3297, allocations: 8.656 kB / 475.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3297, allocations: 43.16 kB / 475.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.346e-06/0.3297, allocations: 0 / 475.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.005201/0.3349, allocations: 1.65 MB / 477.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.335, allocations: 60.06 kB / 477.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007736/0.3358, allocations: 0.5615 MB / 478.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.3358, allocations: 37.7 kB / 478.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.3361, allocations: 351.9 kB / 478.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.3364, allocations: 272 kB / 478.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.3366, allocations: 130.6 kB / 479 MB, free: 5.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3368, allocations: 370.8 kB / 479.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.3372, allocations: 213.9 kB / 479.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.3376, allocations: 343.7 kB / 479.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/0.3385, allocations: 0.6125 MB / 480.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3385, allocations: 0 / 480.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001897/0.3404, allocations: 0.9622 MB / 481.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3405, allocations: 4 kB / 481.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3405, allocations: 4 kB / 481.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.3417, allocations: 315.4 kB / 481.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.3423, allocations: 171.7 kB / 481.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/0.3473, allocations: 3.374 MB / 485.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.3482, allocations: 47.62 kB / 485.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3482, allocations: 28 kB / 485.4 MB, free: 14.77 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.000342/0.3486, allocations: 229.6 kB / 485.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3487, allocations: 83 kB / 485.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.3505, allocations: 0.892 MB / 486.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.3506, allocations: 8 kB / 486.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3506, allocations: 0 / 486.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.3506, allocations: 3.984 kB / 486.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.3537, allocations: 1.94 MB / 488.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3537, allocations: 0 / 488.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.3543, allocations: 127.9 kB / 488.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.3553, allocations: 297 kB / 489 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.3554, allocations: 12 kB / 489 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/0.36, allocations: 3.271 MB / 492.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.36, allocations: 0 / 492.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3619, allocations: 0.9522 MB / 493.2 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.3623, allocations: 228 kB / 493.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/0.3624, allocations: 19.94 kB / 493.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.3629, allocations: 19.98 kB / 493.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3631, allocations: 60.52 kB / 493.5 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.3631, allocations: 20 kB / 493.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005021/0.3636, allocations: 398.8 kB / 493.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3636, allocations: 0 / 493.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3647, allocations: 331.8 kB / 494.2 MB, free: 5.633 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.002181/0.3668, allocations: 1.562 MB / 495.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.3685, allocations: 0.8645 MB / 496.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3685, allocations: 0 / 496.7 MB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.3694, allocations: 0.5713 MB / 497.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.3702, allocations: 113.9 kB / 497.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009523/0.3797, allocations: 6.082 MB / 0.4916 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.3805, allocations: 0.9389 MB / 0.4925 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.3809, allocations: 85.31 kB / 0.4926 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.3813, allocations: 263.3 kB / 0.4929 GB, free: 10.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3813, allocations: 0 / 0.4929 GB, free: 10.9 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05023/0.4315, allocations: 20.57 MB / 0.513 GB, free: 6.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.81, allocations: 3.906 kB / 0.513 GB, free: 6.305 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 & /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