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.001672/0.001672, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001753/0.001753, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.442/1.442, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.0694/0.0694, allocations: 14.4 MB / 300.5 MB, free: 7.434 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.002169/0.002169, allocations: 67.91 kB / 421.4 MB, free: 39.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08069/0.08286, allocations: 52.9 MB / 474.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.008945/0.0918, allocations: 7.189 MB / 481.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.09848, allocations: 3.557 MB / 485.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009026/0.09939, allocations: 19.88 kB / 485.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.1008, allocations: 409.7 kB / 485.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.105, allocations: 1.595 MB / 487.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1064, allocations: 0.6065 MB / 487.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.1091, allocations: 1.817 MB / 489.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.1093, allocations: 86.38 kB / 489.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.1105, allocations: 0.6265 MB / 490.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.1115, allocations: 0.6264 MB / 490.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1116, allocations: 63.94 kB / 490.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.1126, allocations: 423.7 kB / 491.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1128, allocations: 163.2 kB / 491.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.1135, allocations: 0.5287 MB / 492 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.116, allocations: 1.503 MB / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.116, allocations: 0 / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.116, allocations: 0 / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.445e-05/0.116, allocations: 0 / 493.5 MB, free: 15 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.005772/0.1218, allocations: 1.646 MB / 495.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.869e-05/0.1219, allocations: 12.03 kB / 495.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.097e-05/0.1219, allocations: 18.19 kB / 495.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.1221, allocations: 122.6 kB / 495.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.1227, allocations: 152.3 kB / 495.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.1242, allocations: 0.6155 MB / 496.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.1242, allocations: 57.94 kB / 496.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.1243, allocations: 72 kB / 496.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.1256, allocations: 0.7514 MB / 496.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1256, allocations: 4 kB / 496.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.1257, allocations: 28 kB / 497 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1257, allocations: 20 kB / 497 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1268, allocations: 0.6714 MB / 497.7 MB, free: 10.72 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.007709/0.1345, allocations: 5.156 MB / 0.491 GB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.1363, allocations: 0.7335 MB / 0.4918 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004344/0.1367, allocations: 246.8 kB / 0.492 GB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.177e-05/0.1368, allocations: 8.656 kB / 0.492 GB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.1368, allocations: 47.16 kB / 0.492 GB, free: 3.992 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.625e-06/0.1368, allocations: 0 / 0.492 GB, free: 3.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005378/0.1422, allocations: 1.557 MB / 0.4936 GB, free: 2.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1422, allocations: 60.06 kB / 0.4936 GB, free: 2.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.1431, allocations: 0.5654 MB / 0.4942 GB, free: 1.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.902e-05/0.1432, allocations: 41.7 kB / 0.4942 GB, free: 1.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.1435, allocations: 368.7 kB / 0.4946 GB, free: 1.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.1437, allocations: 273.5 kB / 0.4948 GB, free: 1.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.144, allocations: 130.6 kB / 0.4949 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1442, allocations: 374.8 kB / 0.4953 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.1445, allocations: 209.9 kB / 0.4955 GB, free: 392 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.145, allocations: 351.7 kB / 0.4958 GB, free: 15.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009267/0.1459, allocations: 0.6008 MB / 0.4964 GB, free: 15.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.146, allocations: 3.938 kB / 0.4964 GB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002125/0.1481, allocations: 0.9509 MB / 0.4974 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1481, allocations: 4 kB / 0.4974 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1481, allocations: 7.938 kB / 0.4974 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.1493, allocations: 307.5 kB / 0.4977 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.15, allocations: 167.8 kB / 0.4978 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/0.1558, allocations: 3.298 MB / 0.501 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008208/0.1567, allocations: 51.72 kB / 0.5011 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.1567, allocations: 24 kB / 0.5011 GB, free: 10.44 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.0003631/0.1571, allocations: 229.6 kB / 0.5013 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.1573, allocations: 79.53 kB / 0.5014 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.1593, allocations: 0.8802 MB / 0.5023 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.1593, allocations: 8 kB / 0.5023 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1593, allocations: 11.86 kB / 0.5023 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1593, allocations: 0 / 0.5023 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.1627, allocations: 1.896 MB / 0.5041 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1627, allocations: 4 kB / 0.5041 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.1633, allocations: 123.9 kB / 0.5043 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.1644, allocations: 301 kB / 0.5046 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.1644, allocations: 11.98 kB / 0.5046 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/0.1695, allocations: 3.176 MB / 0.5077 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1695, allocations: 0 / 0.5077 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.1717, allocations: 0.9486 MB / 0.5086 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.1721, allocations: 147.4 kB / 0.5087 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1723, allocations: 15.94 kB / 0.5087 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.1728, allocations: 19.94 kB / 0.5088 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.173, allocations: 60.53 kB / 0.5088 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.173, allocations: 16 kB / 0.5088 GB, free: 2.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000539/0.1735, allocations: 394.8 kB / 0.5092 GB, free: 1.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1735, allocations: 0 / 0.5092 GB, free: 1.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001055/0.1746, allocations: 339.8 kB / 0.5095 GB, free: 1.578 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.002503/0.1771, allocations: 1.551 MB / 0.5111 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.1788, allocations: 0.8298 MB / 0.5119 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.1788, allocations: 4.125 kB / 0.5119 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1798, allocations: 0.5404 MB / 0.5124 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.1806, allocations: 111.8 kB / 0.5125 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.1912, allocations: 6.092 MB / 0.5185 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.1919, allocations: 0.9429 MB / 0.5194 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003901/0.1923, allocations: 81.31 kB / 0.5195 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.1927, allocations: 259.3 kB / 0.5197 GB, free: 6.918 MB / 398.1 MB Notification: Performance of SimCode: time 1.392e-06/0.1927, allocations: 3.938 kB / 0.5197 GB, free: 6.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2337/0.4264, allocations: 20.96 MB / 0.5402 GB, free: 56.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.6, allocations: 3.938 kB / 0.5402 GB, free: 56.7 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.394627602014225]