Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.001335/0.001335, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002154/0.002154, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.388/1.388, allocations: 207.6 MB / 233 MB, free: 10.01 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.08468/0.08468, allocations: 14.39 MB / 299.7 MB, free: 7.449 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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.002258/0.002258, allocations: 72.22 kB / 420.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07558/0.07784, allocations: 52.9 MB / 473.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.00871/0.08655, allocations: 7.326 MB / 480.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005883/0.09243, allocations: 3.568 MB / 484.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008403/0.09327, allocations: 23.88 kB / 484.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.09453, allocations: 409.7 kB / 484.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.09899, allocations: 1.62 MB / 486.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1005, allocations: 0.5974 MB / 487.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.1033, allocations: 1.848 MB / 488.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.1036, allocations: 70.42 kB / 489 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1048, allocations: 0.6382 MB / 489.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.1058, allocations: 0.6381 MB / 490.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.1059, allocations: 64 kB / 490.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.107, allocations: 427.6 kB / 490.7 MB, free: 1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1071, allocations: 159.2 kB / 490.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.1078, allocations: 0.5403 MB / 491.4 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.1102, allocations: 1.522 MB / 493 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1102, allocations: 0 / 493 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1102, allocations: 0 / 493 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.1102, allocations: 0 / 493 MB, free: 14.77 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005647/0.1158, allocations: 1.693 MB / 494.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.1159, allocations: 8.031 kB / 494.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/0.1161, allocations: 122.8 kB / 494.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000635/0.1167, allocations: 152.2 kB / 494.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.1182, allocations: 0.6245 MB / 495.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.1182, allocations: 62.12 kB / 495.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.1183, allocations: 72 kB / 495.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1196, allocations: 0.7654 MB / 496.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1196, allocations: 3.984 kB / 496.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.1197, allocations: 35.98 kB / 496.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.1197, allocations: 20 kB / 496.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.121, allocations: 0.7026 MB / 497.2 MB, free: 10.41 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.007266/0.1283, allocations: 5.052 MB / 0.4905 GB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.13, allocations: 0.7457 MB / 0.4912 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.1304, allocations: 266.7 kB / 0.4915 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.1305, allocations: 16.58 kB / 0.4915 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1305, allocations: 43.22 kB / 0.4915 GB, free: 3.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.006e-06/0.1305, allocations: 3.938 kB / 0.4915 GB, free: 3.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003143/0.1337, allocations: 1.158 MB / 0.4927 GB, free: 2.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.1337, allocations: 64.05 kB / 0.4927 GB, free: 2.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008106/0.1345, allocations: 0.5501 MB / 0.4933 GB, free: 1.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.1346, allocations: 33.7 kB / 0.4933 GB, free: 1.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.1349, allocations: 376.7 kB / 0.4937 GB, free: 1.531 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.1352, allocations: 285.5 kB / 0.4939 GB, free: 1.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.1354, allocations: 130.6 kB / 0.4941 GB, free: 1.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1356, allocations: 378.8 kB / 0.4944 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.136, allocations: 217.9 kB / 0.4946 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.1365, allocations: 336.3 kB / 0.4949 GB, free: 164 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/0.1374, allocations: 0.582 MB / 0.4955 GB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1374, allocations: 0 / 0.4955 GB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001723/0.1391, allocations: 0.8606 MB / 0.4963 GB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1391, allocations: 6.5 kB / 0.4964 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.1392, allocations: 4 kB / 0.4964 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.1398, allocations: 188.9 kB / 0.4965 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.1406, allocations: 191.8 kB / 0.4967 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/0.144, allocations: 2.456 MB / 0.4991 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/0.1448, allocations: 47.73 kB / 0.4992 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.1448, allocations: 28 kB / 0.4992 GB, free: 11.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.1452, allocations: 222.3 kB / 0.4994 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.1454, allocations: 79.58 kB / 0.4995 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.1469, allocations: 0.7945 MB / 0.5003 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.1469, allocations: 8 kB / 0.5003 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1469, allocations: 7.984 kB / 0.5003 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1469, allocations: 0 / 0.5003 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.1499, allocations: 1.818 MB / 0.502 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1499, allocations: 0 / 0.502 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.1506, allocations: 163.8 kB / 0.5022 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005211/0.1511, allocations: 176 kB / 0.5024 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.1511, allocations: 16 kB / 0.5024 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/0.1544, allocations: 2.432 MB / 0.5048 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1544, allocations: 4 kB / 0.5048 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.1559, allocations: 0.863 MB / 0.5056 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.1563, allocations: 151.4 kB / 0.5058 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.1564, allocations: 16 kB / 0.5058 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.1569, allocations: 16 kB / 0.5058 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.157, allocations: 56.48 kB / 0.5058 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.157, allocations: 20 kB / 0.5059 GB, free: 4.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005454/0.1576, allocations: 390.8 kB / 0.5062 GB, free: 4.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1576, allocations: 4 kB / 0.5062 GB, free: 4.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008782/0.1585, allocations: 303.8 kB / 0.5065 GB, free: 3.91 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 (63): * Single equations (assignments): 62 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001956/0.1604, allocations: 1.465 MB / 0.508 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.1619, allocations: 0.7602 MB / 0.5087 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.162, allocations: 8.125 kB / 0.5087 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.1628, allocations: 490.1 kB / 0.5092 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.1635, allocations: 109.7 kB / 0.5093 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008995/0.1725, allocations: 5.817 MB / 0.515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.1731, allocations: 0.9349 MB / 0.5159 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.1735, allocations: 97.28 kB / 0.516 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.1739, allocations: 271.3 kB / 0.5162 GB, free: 9.746 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1739, allocations: 0 / 0.5162 GB, free: 9.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2273/0.4012, allocations: 18.22 MB / 0.534 GB, free: 59.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.35, allocations: 5.5 kB / 0.534 GB, free: 59.95 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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: 15.943089989945292]