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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 214.8 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "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: 207.6 MB / 233 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.087/0.087, allocations: 14.4 MB / 299.7 MB, free: 7.438 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 71.91 kB / 420.6 MB, free: 39.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.09126, allocations: 52.9 MB / 473.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.00819/0.09945, allocations: 7.186 MB / 480.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005829/0.1053, allocations: 3.557 MB / 484.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.1061, allocations: 23.81 kB / 484.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1073, allocations: 417.6 kB / 484.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.1115, allocations: 1.591 MB / 486.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1129, allocations: 0.5993 MB / 486.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002717/0.1156, allocations: 1.821 MB / 488.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002563/0.1159, allocations: 78.39 kB / 488.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.1171, allocations: 0.6266 MB / 489.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.1184, allocations: 0.6264 MB / 490 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.1186, allocations: 64 kB / 490.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1201, allocations: 431.6 kB / 490.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.1204, allocations: 151.3 kB / 490.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.1215, allocations: 0.5442 MB / 491.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.1247, allocations: 1.495 MB / 492.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1247, allocations: 0 / 492.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.1247, allocations: 4 kB / 492.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.957e-05/0.1247, allocations: 0 / 492.7 MB, free: 15.02 MB / 366.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.006378/0.1311, allocations: 1.642 MB / 494.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1311, allocations: 8.031 kB / 494.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.1313, allocations: 122.7 kB / 494.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/0.132, allocations: 152.3 kB / 494.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.1336, allocations: 0.6154 MB / 495.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.1337, allocations: 58.12 kB / 495.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1338, allocations: 68 kB / 495.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.135, allocations: 0.7553 MB / 496.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1351, allocations: 4 kB / 496.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.1351, allocations: 28 kB / 496.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.1351, allocations: 20 kB / 496.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1363, allocations: 0.6753 MB / 496.9 MB, free: 10.77 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 preOpt removeSimpleEquations (simulation): time 0.007137/0.1435, allocations: 5.148 MB / 0.4902 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.1451, allocations: 0.7453 MB / 0.491 GB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.1455, allocations: 246.7 kB / 0.4912 GB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.799e-05/0.1456, allocations: 8.656 kB / 0.4912 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1456, allocations: 43.22 kB / 0.4913 GB, free: 4.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.1456, allocations: 0 / 0.4913 GB, free: 4.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005046/0.1507, allocations: 1.557 MB / 0.4928 GB, free: 2.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1507, allocations: 60.06 kB / 0.4928 GB, free: 2.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.1517, allocations: 0.5615 MB / 0.4934 GB, free: 1.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.1517, allocations: 41.7 kB / 0.4934 GB, free: 1.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.152, allocations: 360.7 kB / 0.4938 GB, free: 1.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.1524, allocations: 285.5 kB / 0.494 GB, free: 1.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.1526, allocations: 130.6 kB / 0.4942 GB, free: 1.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1527, allocations: 374.8 kB / 0.4945 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.1531, allocations: 209.9 kB / 0.4947 GB, free: 440 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.1536, allocations: 351.7 kB / 0.4951 GB, free: 36 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.1545, allocations: 0.6048 MB / 0.4956 GB, free: 15.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1545, allocations: 0 / 0.4956 GB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002144/0.1566, allocations: 0.9511 MB / 0.4966 GB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1567, allocations: 4 kB / 0.4966 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1567, allocations: 4 kB / 0.4966 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.1578, allocations: 311.2 kB / 0.4969 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.1585, allocations: 171.7 kB / 0.497 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005393/0.1639, allocations: 3.286 MB / 0.5003 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.1648, allocations: 59.67 kB / 0.5003 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.1648, allocations: 28 kB / 0.5003 GB, free: 10.48 MB / 382.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.0004082/0.1653, allocations: 229.6 kB / 0.5006 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.1655, allocations: 79.53 kB / 0.5006 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.1675, allocations: 0.8763 MB / 0.5015 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.1675, allocations: 12 kB / 0.5015 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1675, allocations: 0 / 0.5015 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1675, allocations: 3.984 kB / 0.5015 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.171, allocations: 1.892 MB / 0.5033 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.171, allocations: 0 / 0.5033 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/0.1716, allocations: 127.9 kB / 0.5035 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.1727, allocations: 305 kB / 0.5038 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.1727, allocations: 12 kB / 0.5038 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004955/0.1777, allocations: 3.18 MB / 0.5069 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1777, allocations: 0 / 0.5069 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.1798, allocations: 0.9447 MB / 0.5078 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/0.1803, allocations: 147.4 kB / 0.5079 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.1804, allocations: 15.94 kB / 0.508 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.181, allocations: 27.92 kB / 0.508 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.1812, allocations: 52.55 kB / 0.508 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.1812, allocations: 20 kB / 0.5081 GB, free: 2.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.1818, allocations: 394.8 kB / 0.5084 GB, free: 1.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 0.5084 GB, free: 1.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001049/0.1828, allocations: 331.8 kB / 0.5087 GB, free: 1.625 MB / 382.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.002388/0.1852, allocations: 1.555 MB / 0.5103 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.1869, allocations: 0.8301 MB / 0.5111 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1869, allocations: 0 / 0.5111 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009951/0.1879, allocations: 0.5483 MB / 0.5116 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007662/0.1886, allocations: 108.4 kB / 0.5117 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.199, allocations: 6.096 MB / 0.5177 GB, free: 8.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.1997, allocations: 0.9429 MB / 0.5186 GB, free: 7.297 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.2, allocations: 85.31 kB / 0.5187 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/0.2004, allocations: 255.4 kB / 0.5189 GB, free: 6.961 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2004, allocations: 0 / 0.5189 GB, free: 6.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2435/0.4439, allocations: 20.92 MB / 0.5393 GB, free: 57.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.05, allocations: 12.28 kB / 0.5394 GB, free: 57.22 MB / 398.1 MB " [Timeout remaining time 645] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio.fmu > PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatio.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.75019675004296]