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.001341/0.001341, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001429/0.001429, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.501/1.501, allocations: 207.7 MB / 233.9 MB, free: 9.801 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.06902/0.06902, allocations: 14.38 MB / 300.5 MB, free: 7.258 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTransformerFixedRatio,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTransformerFixedRatio",fmuType="cs",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.002194/0.002194, allocations: 75.89 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.0884, allocations: 52.9 MB / 474.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007978/0.09638, allocations: 6.356 MB / 480.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.1021, allocations: 3.245 MB / 483.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004934/0.1026, allocations: 15.94 kB / 483.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.1036, allocations: 397.7 kB / 484.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.1072, allocations: 1.535 MB / 485.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1083, allocations: 0.556 MB / 486.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.1106, allocations: 1.817 MB / 488.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.1108, allocations: 74.38 kB / 488.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.1116, allocations: 0.6266 MB / 488.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008389/0.1125, allocations: 0.6342 MB / 489.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1126, allocations: 64 kB / 489.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009866/0.1135, allocations: 415.7 kB / 490 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1137, allocations: 159.2 kB / 490.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.1142, allocations: 453.8 kB / 490.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.1163, allocations: 1.503 MB / 492.1 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1163, allocations: 3.938 kB / 492.1 MB, free: 196 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1163, allocations: 3.938 kB / 492.1 MB, free: 192 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.1163, allocations: 4 kB / 492.1 MB, free: 188 kB / 350.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.005341/0.1216, allocations: 1.643 MB / 493.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1217, allocations: 12.03 kB / 493.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.913e-05/0.1217, allocations: 18.19 kB / 493.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.1218, allocations: 118.7 kB / 493.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.1225, allocations: 152.3 kB / 494.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1237, allocations: 0.6193 MB / 494.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.527e-05/0.1238, allocations: 57.94 kB / 494.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1239, allocations: 68 kB / 494.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1251, allocations: 0.7592 MB / 495.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.1251, allocations: 8 kB / 495.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.1252, allocations: 24 kB / 495.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.1252, allocations: 20 kB / 495.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.1264, allocations: 0.6714 MB / 496.3 MB, free: 11.9 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.005625/0.132, allocations: 3.019 MB / 499.3 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1336, allocations: 0.7258 MB / 0.4883 GB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.134, allocations: 250.8 kB / 0.4886 GB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.018e-05/0.1341, allocations: 8.656 kB / 0.4886 GB, free: 7.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1341, allocations: 39.22 kB / 0.4886 GB, free: 7.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.507e-06/0.1341, allocations: 0 / 0.4886 GB, free: 7.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005209/0.1393, allocations: 1.592 MB / 0.4902 GB, free: 6.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.1394, allocations: 64.06 kB / 0.4902 GB, free: 6.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.1402, allocations: 0.5615 MB / 0.4908 GB, free: 5.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.1403, allocations: 37.7 kB / 0.4908 GB, free: 5.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.1406, allocations: 364.7 kB / 0.4912 GB, free: 5.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.1409, allocations: 281.5 kB / 0.4914 GB, free: 4.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.1411, allocations: 130.6 kB / 0.4915 GB, free: 4.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1413, allocations: 382.6 kB / 0.4919 GB, free: 4.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.1417, allocations: 209.9 kB / 0.4921 GB, free: 4.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1422, allocations: 339.8 kB / 0.4924 GB, free: 3.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009359/0.1431, allocations: 0.6048 MB / 0.493 GB, free: 3.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1431, allocations: 4 kB / 0.493 GB, free: 3.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00213/0.1452, allocations: 0.9579 MB / 0.494 GB, free: 2.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1453, allocations: 8.375 kB / 0.494 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1453, allocations: 8 kB / 0.494 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.1465, allocations: 309.3 kB / 0.4943 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.1471, allocations: 159.8 kB / 0.4944 GB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/0.1525, allocations: 3.356 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/0.1533, allocations: 55.67 kB / 0.4978 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.1534, allocations: 28 kB / 0.4978 GB, free: 14.1 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 (69): * Single equations (assignments): 68 * 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,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.1537, allocations: 226.3 kB / 0.498 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.1539, allocations: 79.48 kB / 0.4981 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.1558, allocations: 0.8842 MB / 0.4989 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.1558, allocations: 8 kB / 0.4989 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1558, allocations: 7.938 kB / 0.499 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1558, allocations: 7.984 kB / 0.499 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.1588, allocations: 1.624 MB / 0.5005 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1588, allocations: 0 / 0.5005 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.1593, allocations: 119.9 kB / 0.5007 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.1604, allocations: 300.6 kB / 0.5009 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.1604, allocations: 19.98 kB / 0.501 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/0.1655, allocations: 3.229 MB / 0.5041 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1655, allocations: 0 / 0.5041 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.1674, allocations: 0.9448 MB / 0.505 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.1678, allocations: 159.3 kB / 0.5052 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1679, allocations: 19.94 kB / 0.5052 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.1684, allocations: 19.98 kB / 0.5052 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1686, allocations: 52.55 kB / 0.5053 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.1686, allocations: 20 kB / 0.5053 GB, free: 6.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005488/0.1691, allocations: 394.8 kB / 0.5057 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1691, allocations: 7.938 kB / 0.5057 GB, free: 5.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009652/0.1701, allocations: 335.8 kB / 0.506 GB, free: 5.469 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 (49): * Single equations (assignments): 48 * 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,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00235/0.1725, allocations: 1.559 MB / 0.5075 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.1742, allocations: 0.8496 MB / 0.5084 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1742, allocations: 0 / 0.5084 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009635/0.1751, allocations: 0.5639 MB / 0.5089 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.1758, allocations: 116.6 kB / 0.509 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009699/0.1855, allocations: 6.106 MB / 0.515 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1859, allocations: 348.8 kB / 0.5153 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.1863, allocations: 81.33 kB / 0.5154 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.1867, allocations: 259.3 kB / 0.5156 GB, free: 11.33 MB / 398.1 MB Notification: Performance of SimCode: time 2.014e-06/0.1867, allocations: 0 / 0.5156 GB, free: 11.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2531/0.4397, allocations: 20.5 MB / 0.5357 GB, free: 60.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.05, allocations: 6.188 kB / 0.5357 GB, free: 60.02 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.968464675010182]