Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.001402/0.001402, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00175/0.00175, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.721/1.721, allocations: 207.7 MB / 233.1 MB, free: 9.789 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.06774/0.06774, allocations: 14.39 MB / 299.7 MB, free: 7.234 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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.003253/0.003253, allocations: 71.91 kB / 420.6 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1088, allocations: 52.9 MB / 473.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.009328/0.1182, allocations: 6.357 MB / 479.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006422/0.1246, allocations: 3.249 MB / 483.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.1256, allocations: 19.88 kB / 483.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.1271, allocations: 393.8 kB / 483.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004414/0.1315, allocations: 1.527 MB / 485.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1328, allocations: 0.5721 MB / 485.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.1356, allocations: 1.817 MB / 487.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.1359, allocations: 70.36 kB / 487.5 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.1372, allocations: 0.6265 MB / 488.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.1384, allocations: 0.5795 MB / 488.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.1386, allocations: 60 kB / 488.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.1399, allocations: 407.7 kB / 489.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.1401, allocations: 159.2 kB / 489.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.1407, allocations: 449.9 kB / 489.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.1428, allocations: 1.503 MB / 491.3 MB, free: 256 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1428, allocations: 4 kB / 491.3 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1428, allocations: 0 / 491.3 MB, free: 252 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.1428, allocations: 0 / 491.3 MB, free: 252 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.005174/0.148, allocations: 1.639 MB / 492.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.148, allocations: 8.031 kB / 492.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.1482, allocations: 126.6 kB / 493.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.1488, allocations: 152.3 kB / 493.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1501, allocations: 0.6116 MB / 493.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.1502, allocations: 54.12 kB / 493.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.1503, allocations: 68 kB / 493.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1515, allocations: 0.7553 MB / 494.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1515, allocations: 0 / 494.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.1516, allocations: 32 kB / 494.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.1516, allocations: 23.98 kB / 494.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1527, allocations: 0.6635 MB / 495.4 MB, free: 12 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.005392/0.1581, allocations: 3.044 MB / 498.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.1597, allocations: 0.7154 MB / 499.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.1601, allocations: 263.1 kB / 499.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.1601, allocations: 8.656 kB / 499.4 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.1602, allocations: 43.16 kB / 499.5 MB, free: 7.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.916e-06/0.1602, allocations: 0 / 499.5 MB, free: 7.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004878/0.1651, allocations: 1.529 MB / 0.4893 GB, free: 6.285 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1651, allocations: 60.06 kB / 0.4893 GB, free: 6.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.1659, allocations: 0.5614 MB / 0.4899 GB, free: 5.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.1659, allocations: 41.7 kB / 0.4899 GB, free: 5.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.1662, allocations: 368.7 kB / 0.4903 GB, free: 5.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.1665, allocations: 277.5 kB / 0.4905 GB, free: 4.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.1667, allocations: 130.6 kB / 0.4906 GB, free: 4.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1669, allocations: 378.8 kB / 0.491 GB, free: 4.441 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.1672, allocations: 213.9 kB / 0.4912 GB, free: 4.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.1677, allocations: 330 kB / 0.4915 GB, free: 3.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.1686, allocations: 0.5875 MB / 0.4921 GB, free: 3.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1686, allocations: 3.938 kB / 0.4921 GB, free: 3.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001991/0.1706, allocations: 0.9463 MB / 0.493 GB, free: 2.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.1706, allocations: 4 kB / 0.493 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1706, allocations: 4 kB / 0.493 GB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.1718, allocations: 313.6 kB / 0.4933 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.1725, allocations: 151.8 kB / 0.4935 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005543/0.178, allocations: 3.298 MB / 0.4967 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.179, allocations: 55.67 kB / 0.4968 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.179, allocations: 31.98 kB / 0.4968 GB, free: 14.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0004216/0.1795, allocations: 225.6 kB / 0.497 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.1796, allocations: 75.53 kB / 0.4971 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.1815, allocations: 0.8724 MB / 0.4979 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1815, allocations: 8 kB / 0.4979 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1815, allocations: 0 / 0.4979 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1815, allocations: 11.98 kB / 0.4979 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.1845, allocations: 1.613 MB / 0.4995 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.1845, allocations: 0 / 0.4995 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.1851, allocations: 127.8 kB / 0.4996 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.1861, allocations: 288.6 kB / 0.4999 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.1861, allocations: 12 kB / 0.4999 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.191, allocations: 3.194 MB / 0.503 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.191, allocations: 3.938 kB / 0.503 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.193, allocations: 0.9408 MB / 0.504 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.1934, allocations: 147.4 kB / 0.5041 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/0.1935, allocations: 12 kB / 0.5041 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.194, allocations: 27.89 kB / 0.5041 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.1941, allocations: 64.47 kB / 0.5042 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.1942, allocations: 16 kB / 0.5042 GB, free: 6.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.1947, allocations: 390.8 kB / 0.5046 GB, free: 6.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1947, allocations: 0 / 0.5046 GB, free: 6.125 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009679/0.1957, allocations: 339.8 kB / 0.5049 GB, free: 5.793 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.002295/0.198, allocations: 1.55 MB / 0.5064 GB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.1999, allocations: 0.8379 MB / 0.5072 GB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1999, allocations: 4 kB / 0.5073 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.2009, allocations: 0.5717 MB / 0.5078 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.2017, allocations: 114.2 kB / 0.5079 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009822/0.2115, allocations: 5.997 MB / 0.5138 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.2119, allocations: 352.7 kB / 0.5141 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.2123, allocations: 81.31 kB / 0.5142 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.2127, allocations: 263.3 kB / 0.5144 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.663e-06/0.2127, allocations: 0 / 0.5144 GB, free: 11.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2834/0.4961, allocations: 20.49 MB / 0.5345 GB, free: 60.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.69, allocations: 2.438 kB / 0.5345 GB, free: 60.01 MB / 398.1 MB " [Timeout remaining time 646] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.941488761920482]