Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.00137/0.00137, allocations: 110.4 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.001703/0.001703, allocations: 211.9 kB / 22.25 MB, free: 5.137 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.446/1.446, allocations: 207.6 MB / 233 MB, free: 9.996 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.07093/0.07093, allocations: 14.39 MB / 299.7 MB, free: 7.441 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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.002218/0.002218, allocations: 71.89 kB / 420.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08799, allocations: 52.9 MB / 473.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.008469/0.09646, allocations: 7.326 MB / 480.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005825/0.1023, allocations: 3.572 MB / 484.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.1029, allocations: 15.94 kB / 484.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1041, allocations: 417.6 kB / 484.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.1079, allocations: 1.608 MB / 486.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1091, allocations: 0.6039 MB / 487.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.1115, allocations: 1.844 MB / 488.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.1117, allocations: 74.41 kB / 489 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.1126, allocations: 0.6383 MB / 489.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008751/0.1135, allocations: 0.6498 MB / 490.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-05/0.1136, allocations: 64 kB / 490.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009434/0.1145, allocations: 431.6 kB / 490.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1147, allocations: 163.2 kB / 490.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000549/0.1152, allocations: 0.5481 MB / 491.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.1172, allocations: 1.526 MB / 493 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1172, allocations: 4 kB / 493 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1172, allocations: 0 / 493 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1172, allocations: 0 / 493 MB, free: 14.75 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.00522/0.1225, allocations: 1.689 MB / 494.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1225, allocations: 12.03 kB / 494.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.1226, allocations: 122.8 kB / 494.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.1232, allocations: 152.2 kB / 495 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.1246, allocations: 0.6284 MB / 495.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.1246, allocations: 58.12 kB / 495.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.1247, allocations: 72 kB / 495.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.1259, allocations: 0.7503 MB / 496.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.126, allocations: 0 / 496.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.126, allocations: 36 kB / 496.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.126, allocations: 16 kB / 496.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1273, allocations: 0.73 MB / 497.2 MB, free: 10.39 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.006561/0.1338, allocations: 4.762 MB / 0.4902 GB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.1356, allocations: 0.8017 MB / 0.491 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.1361, allocations: 282.7 kB / 0.4913 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.527e-05/0.1362, allocations: 12.59 kB / 0.4913 GB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.1362, allocations: 43.22 kB / 0.4914 GB, free: 3.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 6.432e-06/0.1362, allocations: 4 kB / 0.4914 GB, free: 3.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.003132/0.1393, allocations: 1.185 MB / 0.4925 GB, free: 2.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.1394, allocations: 60.06 kB / 0.4926 GB, free: 2.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.1402, allocations: 0.5421 MB / 0.4931 GB, free: 2.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.1403, allocations: 41.7 kB / 0.4931 GB, free: 2.094 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1406, allocations: 348.9 kB / 0.4935 GB, free: 1.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.1409, allocations: 309.3 kB / 0.4938 GB, free: 1.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1411, allocations: 138.6 kB / 0.4939 GB, free: 1.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.1413, allocations: 370.8 kB / 0.4943 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.1416, allocations: 221.9 kB / 0.4945 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.1421, allocations: 312.8 kB / 0.4948 GB, free: 392 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.143, allocations: 0.5787 MB / 0.4953 GB, free: 15.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.143, allocations: 0 / 0.4953 GB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00161/0.1446, allocations: 0.849 MB / 0.4962 GB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.1447, allocations: 10.5 kB / 0.4962 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1447, allocations: 0 / 0.4962 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.1453, allocations: 184.8 kB / 0.4963 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/0.1461, allocations: 195.8 kB / 0.4965 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.1496, allocations: 2.432 MB / 0.4989 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.1503, allocations: 51.67 kB / 0.499 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.1503, allocations: 24 kB / 0.499 GB, free: 11.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003394/0.1507, allocations: 225.8 kB / 0.4992 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1508, allocations: 79.53 kB / 0.4993 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.1524, allocations: 0.822 MB / 0.5001 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1524, allocations: 8 kB / 0.5001 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1524, allocations: 8 kB / 0.5001 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1524, allocations: 3.984 kB / 0.5001 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.1554, allocations: 1.969 MB / 0.502 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1554, allocations: 0 / 0.502 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.1561, allocations: 171.8 kB / 0.5022 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.1566, allocations: 176.2 kB / 0.5023 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.1567, allocations: 16 kB / 0.5024 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.1601, allocations: 2.421 MB / 0.5047 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1601, allocations: 4 kB / 0.5047 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.1617, allocations: 0.8748 MB / 0.5056 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.1622, allocations: 163.3 kB / 0.5057 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.1623, allocations: 12 kB / 0.5057 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.1629, allocations: 27.98 kB / 0.5058 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.163, allocations: 52.55 kB / 0.5058 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.163, allocations: 24 kB / 0.5058 GB, free: 4.625 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006032/0.1636, allocations: 378.8 kB / 0.5062 GB, free: 4.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1636, allocations: 0 / 0.5062 GB, free: 4.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009754/0.1646, allocations: 307.8 kB / 0.5065 GB, free: 3.957 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 (67): * Single equations (assignments): 66 * 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.002042/0.1666, allocations: 1.488 MB / 0.508 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.1683, allocations: 0.7873 MB / 0.5087 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1683, allocations: 0 / 0.5087 GB, free: 1.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.1692, allocations: 0.5137 MB / 0.5092 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.17, allocations: 127.6 kB / 0.5093 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/0.1798, allocations: 5.808 MB / 0.515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.1805, allocations: 0.9389 MB / 0.5159 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.181, allocations: 93.3 kB / 0.516 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.1814, allocations: 271.3 kB / 0.5163 GB, free: 9.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.393e-06/0.1814, allocations: 0 / 0.5163 GB, free: 9.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2499/0.4313, allocations: 18.38 MB / 0.5342 GB, free: 59.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.17, allocations: 8.906 kB / 0.5342 GB, free: 59.95 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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.817941691027954]