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.001665/0.001665, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002052/0.002052, allocations: 216.6 kB / 23.03 MB, free: 4.918 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.522/1.522, allocations: 207.7 MB / 233.9 MB, free: 9.793 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.06945/0.06945, allocations: 14.38 MB / 300.5 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.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",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.002121/0.002121, allocations: 67.91 kB / 421.4 MB, free: 39.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1054, allocations: 52.9 MB / 474.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.007892/0.1133, allocations: 6.453 MB / 480.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005511/0.1188, allocations: 3.277 MB / 484 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007741/0.1196, allocations: 19.88 kB / 484.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.1207, allocations: 389.8 kB / 484.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.1247, allocations: 1.554 MB / 486 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1261, allocations: 0.5679 MB / 486.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00292/0.129, allocations: 1.833 MB / 488.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.1293, allocations: 74.41 kB / 488.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.1305, allocations: 0.6421 MB / 489.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.1317, allocations: 0.6459 MB / 489.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.132, allocations: 71.94 kB / 489.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.1333, allocations: 423.7 kB / 490.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.1336, allocations: 159.2 kB / 490.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.1345, allocations: 465.8 kB / 490.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.137, allocations: 1.534 MB / 492.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.137, allocations: 4 kB / 492.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.137, allocations: 0 / 492.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.137, allocations: 0 / 492.4 MB, free: 15.92 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.006171/0.1432, allocations: 1.689 MB / 494.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1432, allocations: 8.031 kB / 494.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.916e-05/0.1433, allocations: 26.12 kB / 494.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.1434, allocations: 122.8 kB / 494.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006702/0.1441, allocations: 152.2 kB / 494.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.1454, allocations: 0.6246 MB / 495 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.1454, allocations: 57.94 kB / 495.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.1456, allocations: 76 kB / 495.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.1469, allocations: 0.7542 MB / 495.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1469, allocations: 0 / 495.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/0.147, allocations: 28 kB / 495.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.147, allocations: 24 kB / 495.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1482, allocations: 0.73 MB / 496.7 MB, free: 11.54 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.005501/0.1537, allocations: 2.629 MB / 499.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.1556, allocations: 0.7949 MB / 0.4884 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.1561, allocations: 278.7 kB / 0.4886 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-05/0.1562, allocations: 12.59 kB / 0.4886 GB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.1563, allocations: 47.2 kB / 0.4887 GB, free: 7.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 4.137e-06/0.1563, allocations: 0 / 0.4887 GB, free: 7.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.003221/0.1595, allocations: 1.169 MB / 0.4898 GB, free: 6.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.1595, allocations: 72 kB / 0.4899 GB, free: 6.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.1604, allocations: 0.5383 MB / 0.4904 GB, free: 5.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.1604, allocations: 37.7 kB / 0.4905 GB, free: 5.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.1607, allocations: 352.9 kB / 0.4908 GB, free: 5.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.161, allocations: 305.3 kB / 0.4911 GB, free: 5.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.1612, allocations: 130.6 kB / 0.4912 GB, free: 5.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1614, allocations: 374.8 kB / 0.4916 GB, free: 4.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.1619, allocations: 221.9 kB / 0.4918 GB, free: 4.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.1623, allocations: 316.9 kB / 0.4921 GB, free: 4.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.1632, allocations: 0.5786 MB / 0.4927 GB, free: 3.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1632, allocations: 3.938 kB / 0.4927 GB, free: 3.523 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001711/0.165, allocations: 0.8491 MB / 0.4935 GB, free: 2.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.165, allocations: 4 kB / 0.4935 GB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.165, allocations: 7.938 kB / 0.4935 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.1656, allocations: 180.6 kB / 0.4937 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.1665, allocations: 195.8 kB / 0.4939 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.1699, allocations: 2.397 MB / 0.4962 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/0.1707, allocations: 47.73 kB / 0.4962 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.1707, allocations: 24 kB / 0.4963 GB, free: 15.7 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.0003564/0.1711, allocations: 221.7 kB / 0.4965 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.1712, allocations: 79.53 kB / 0.4966 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.1728, allocations: 0.8298 MB / 0.4974 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.1728, allocations: 8 kB / 0.4974 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1728, allocations: 4 kB / 0.4974 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.1728, allocations: 3.984 kB / 0.4974 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.1757, allocations: 1.601 MB / 0.4989 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1757, allocations: 0 / 0.4989 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.1764, allocations: 163.8 kB / 0.4991 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/0.1769, allocations: 180.7 kB / 0.4993 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.1769, allocations: 12 kB / 0.4993 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/0.1801, allocations: 2.377 MB / 0.5016 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1802, allocations: 0 / 0.5016 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.1818, allocations: 0.8904 MB / 0.5025 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.1822, allocations: 155.3 kB / 0.5026 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.516e-05/0.1823, allocations: 12 kB / 0.5026 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.1828, allocations: 23.98 kB / 0.5027 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.1829, allocations: 52.55 kB / 0.5027 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.183, allocations: 20 kB / 0.5027 GB, free: 8.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.1835, allocations: 382.8 kB / 0.5031 GB, free: 8.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1835, allocations: 0 / 0.5031 GB, free: 8.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008753/0.1844, allocations: 311.7 kB / 0.5034 GB, free: 8.199 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.001939/0.1863, allocations: 1.496 MB / 0.5048 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.1878, allocations: 0.7873 MB / 0.5056 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1878, allocations: 0 / 0.5056 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.1887, allocations: 0.5098 MB / 0.5061 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.1894, allocations: 110.5 kB / 0.5062 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00907/0.1985, allocations: 5.819 MB / 0.5119 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1989, allocations: 340.8 kB / 0.5122 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004561/0.1993, allocations: 97.3 kB / 0.5123 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.1998, allocations: 275.3 kB / 0.5126 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.1998, allocations: 0 / 0.5126 GB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2399/0.4396, allocations: 18.64 MB / 0.5308 GB, free: 61.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.69, allocations: 8.188 kB / 0.5308 GB, free: 61.99 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.591555912978947]