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.001769/0.001769, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002174/0.002174, allocations: 212.4 kB / 22.24 MB, free: 5.242 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.49/1.49, allocations: 207.7 MB / 233.1 MB, free: 9.785 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.06665/0.06665, allocations: 14.39 MB / 299.7 MB, free: 7.254 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.002184/0.002184, allocations: 63.91 kB / 420.6 MB, free: 39.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08824, allocations: 52.91 MB / 473.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.007855/0.09609, allocations: 6.341 MB / 479.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00577/0.1019, allocations: 3.265 MB / 483.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009067/0.1028, allocations: 23.88 kB / 483.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1039, allocations: 389.7 kB / 483.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.1077, allocations: 1.539 MB / 485.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1089, allocations: 0.5604 MB / 485.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.1112, allocations: 1.809 MB / 487.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.1114, allocations: 70.39 kB / 487.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008389/0.1122, allocations: 0.6305 MB / 488.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.113, allocations: 0.5678 MB / 488.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1131, allocations: 64 kB / 488.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000885/0.114, allocations: 403.7 kB / 489.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1141, allocations: 163.2 kB / 489.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004649/0.1146, allocations: 453.8 kB / 489.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.1164, allocations: 1.503 MB / 491.3 MB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1164, allocations: 0 / 491.3 MB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1164, allocations: 0 / 491.3 MB, free: 280 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1164, allocations: 0 / 491.3 MB, free: 280 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.005223/0.1217, allocations: 1.658 MB / 492.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1217, allocations: 8.031 kB / 492.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.1219, allocations: 114.7 kB / 493.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.1225, allocations: 152.3 kB / 493.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.1238, allocations: 0.6077 MB / 493.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.1239, allocations: 62.12 kB / 493.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.452e-05/0.124, allocations: 68 kB / 493.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.1252, allocations: 0.7592 MB / 494.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1252, allocations: 0 / 494.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.1253, allocations: 28 kB / 494.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1253, allocations: 16 kB / 494.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1265, allocations: 0.6674 MB / 495.4 MB, free: 12.02 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.005417/0.1319, allocations: 3.023 MB / 498.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.1335, allocations: 0.7187 MB / 499.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.1339, allocations: 258.6 kB / 499.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.1339, allocations: 12.64 kB / 499.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.134, allocations: 39.22 kB / 499.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.625e-06/0.134, allocations: 0 / 499.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005302/0.1393, allocations: 1.588 MB / 0.4893 GB, free: 6.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1393, allocations: 60.06 kB / 0.4894 GB, free: 6.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.1402, allocations: 0.5732 MB / 0.4899 GB, free: 5.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.1402, allocations: 37.7 kB / 0.49 GB, free: 5.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.1406, allocations: 356.7 kB / 0.4903 GB, free: 5.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.1409, allocations: 293.5 kB / 0.4906 GB, free: 4.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.1411, allocations: 130.6 kB / 0.4907 GB, free: 4.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1413, allocations: 382.7 kB / 0.4911 GB, free: 4.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.1417, allocations: 209.9 kB / 0.4913 GB, free: 4.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.1421, allocations: 343.7 kB / 0.4916 GB, free: 3.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.143, allocations: 0.6009 MB / 0.4922 GB, free: 3.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.143, allocations: 3.938 kB / 0.4922 GB, free: 3.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002089/0.1451, allocations: 0.9618 MB / 0.4931 GB, free: 2.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1451, allocations: 8 kB / 0.4931 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1452, allocations: 4 kB / 0.4931 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.1463, allocations: 317.7 kB / 0.4934 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.147, allocations: 151.8 kB / 0.4936 GB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/0.153, allocations: 3.352 MB / 0.4969 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.1539, allocations: 51.73 kB / 0.4969 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.1539, allocations: 31.98 kB / 0.4969 GB, free: 14.21 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.000348/0.1543, allocations: 221.7 kB / 0.4971 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.1544, allocations: 79.53 kB / 0.4972 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.1564, allocations: 0.8841 MB / 0.4981 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.1564, allocations: 8 kB / 0.4981 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1564, allocations: 0 / 0.4981 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1564, allocations: 7.984 kB / 0.4981 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.1597, allocations: 1.636 MB / 0.4997 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1597, allocations: 4 kB / 0.4997 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.1602, allocations: 119.9 kB / 0.4998 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.1614, allocations: 300.6 kB / 0.5001 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.1614, allocations: 16 kB / 0.5001 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.1666, allocations: 3.233 MB / 0.5033 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1666, allocations: 3.984 kB / 0.5033 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.1686, allocations: 0.9408 MB / 0.5042 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.169, allocations: 151.3 kB / 0.5043 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.1691, allocations: 16 kB / 0.5044 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/0.1697, allocations: 31.88 kB / 0.5044 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1698, allocations: 56.55 kB / 0.5044 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.1698, allocations: 19.94 kB / 0.5045 GB, free: 6.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005441/0.1703, allocations: 398.8 kB / 0.5048 GB, free: 5.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1703, allocations: 0 / 0.5048 GB, free: 5.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009739/0.1713, allocations: 335.8 kB / 0.5052 GB, free: 5.57 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.002467/0.1738, allocations: 1.555 MB / 0.5067 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.1756, allocations: 0.8381 MB / 0.5075 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1756, allocations: 8.062 kB / 0.5075 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.1766, allocations: 0.5559 MB / 0.508 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.1775, allocations: 120.7 kB / 0.5082 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.1878, allocations: 6.106 MB / 0.5141 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1882, allocations: 344.8 kB / 0.5145 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.1886, allocations: 85.31 kB / 0.5145 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.189, allocations: 263.3 kB / 0.5148 GB, free: 11.45 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.189, allocations: 0 / 0.5148 GB, free: 11.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/0.4243, allocations: 20.66 MB / 0.535 GB, free: 59.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.65, allocations: 3.781 kB / 0.535 GB, free: 59.86 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.393479889724404]