Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.001537/0.001537, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0018/0.0018, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.438/1.438, allocations: 207.6 MB / 233 MB, free: 10.02 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.08575/0.08575, allocations: 14.38 MB / 299.7 MB, free: 7.445 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.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.002422/0.002422, allocations: 67.91 kB / 420.6 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08869, allocations: 52.9 MB / 473.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.009005/0.09769, allocations: 7.193 MB / 480.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.1044, allocations: 3.557 MB / 484.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.1053, allocations: 23.88 kB / 484.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.1067, allocations: 409.7 kB / 484.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.1111, allocations: 1.595 MB / 486.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1124, allocations: 0.6032 MB / 486.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.1153, allocations: 1.824 MB / 488.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.1156, allocations: 82.36 kB / 488.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.117, allocations: 0.6304 MB / 489.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.1184, allocations: 0.6303 MB / 490.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.1187, allocations: 60 kB / 490.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.1203, allocations: 427.7 kB / 490.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.1205, allocations: 163.2 kB / 490.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009937/0.1215, allocations: 0.5325 MB / 491.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.1245, allocations: 1.499 MB / 492.7 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1245, allocations: 0 / 492.7 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1245, allocations: 0 / 492.7 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.546e-05/0.1245, allocations: 0 / 492.7 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.006027/0.1305, allocations: 1.635 MB / 494.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1306, allocations: 12.03 kB / 494.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.1308, allocations: 126.6 kB / 494.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.1314, allocations: 148.3 kB / 494.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.133, allocations: 0.6116 MB / 495.3 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.1331, allocations: 58.12 kB / 495.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.1332, allocations: 68 kB / 495.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.1346, allocations: 0.7553 MB / 496.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1346, allocations: 4 kB / 496.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.1347, allocations: 28 kB / 496.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.1347, allocations: 23.94 kB / 496.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.136, allocations: 0.6714 MB / 496.9 MB, free: 10.75 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.007726/0.1437, allocations: 5.185 MB / 0.4903 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.1454, allocations: 0.7294 MB / 0.491 GB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/0.1458, allocations: 251.8 kB / 0.4912 GB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.1459, allocations: 8.656 kB / 0.4913 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.1459, allocations: 47.16 kB / 0.4913 GB, free: 3.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.635e-06/0.1459, allocations: 0 / 0.4913 GB, free: 3.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004942/0.1508, allocations: 1.471 MB / 0.4927 GB, free: 2.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1509, allocations: 60.06 kB / 0.4928 GB, free: 2.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.1518, allocations: 0.5576 MB / 0.4933 GB, free: 1.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.1519, allocations: 41.7 kB / 0.4934 GB, free: 1.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.1522, allocations: 368.6 kB / 0.4937 GB, free: 1.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.1525, allocations: 277.5 kB / 0.494 GB, free: 1.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.1528, allocations: 126.6 kB / 0.4941 GB, free: 1.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.153, allocations: 378.8 kB / 0.4945 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.1534, allocations: 205.9 kB / 0.4947 GB, free: 476 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.1539, allocations: 330.1 kB / 0.495 GB, free: 100 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/0.1549, allocations: 0.5875 MB / 0.4956 GB, free: 15.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1549, allocations: 0 / 0.4956 GB, free: 15.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002148/0.157, allocations: 0.9391 MB / 0.4965 GB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.157, allocations: 4.312 kB / 0.4965 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.1571, allocations: 8 kB / 0.4965 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.1583, allocations: 313.7 kB / 0.4968 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.1589, allocations: 163.8 kB / 0.4969 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005739/0.1647, allocations: 3.277 MB / 0.5001 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.1655, allocations: 59.66 kB / 0.5002 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.1656, allocations: 24 kB / 0.5002 GB, free: 10.59 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 (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 {(7,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004281/0.166, allocations: 225.7 kB / 0.5004 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.1663, allocations: 75.53 kB / 0.5005 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.1682, allocations: 0.8685 MB / 0.5014 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1683, allocations: 7.938 kB / 0.5014 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1683, allocations: 8 kB / 0.5014 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.1683, allocations: 3.984 kB / 0.5014 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.1719, allocations: 1.884 MB / 0.5032 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1719, allocations: 0 / 0.5032 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.1725, allocations: 127.8 kB / 0.5033 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.1736, allocations: 305 kB / 0.5036 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.1736, allocations: 8 kB / 0.5036 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.1792, allocations: 3.177 MB / 0.5067 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.1792, allocations: 3.938 kB / 0.5067 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.1813, allocations: 0.933 MB / 0.5077 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.1818, allocations: 151.5 kB / 0.5078 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.1819, allocations: 19.94 kB / 0.5078 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.1825, allocations: 24 kB / 0.5078 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1826, allocations: 52.53 kB / 0.5079 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.1827, allocations: 20 kB / 0.5079 GB, free: 2.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005773/0.1832, allocations: 386.8 kB / 0.5083 GB, free: 2.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1832, allocations: 0 / 0.5083 GB, free: 2.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001067/0.1843, allocations: 335.8 kB / 0.5086 GB, free: 1.777 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 {(6,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002492/0.1868, allocations: 1.543 MB / 0.5101 GB, free: 208 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.189, allocations: 0.8682 MB / 0.511 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.189, allocations: 4 kB / 0.511 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.1903, allocations: 0.5748 MB / 0.5115 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.1914, allocations: 114.2 kB / 0.5116 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.2029, allocations: 5.997 MB / 0.5175 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.2037, allocations: 0.9429 MB / 0.5184 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.204, allocations: 85.45 kB / 0.5185 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.2045, allocations: 259.3 kB / 0.5187 GB, free: 7.148 MB / 398.1 MB Notification: Performance of SimCode: time 1.312e-06/0.2045, allocations: 0 / 0.5187 GB, free: 7.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.4835, allocations: 20.77 MB / 0.539 GB, free: 56.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.57, allocations: 10.28 kB / 0.539 GB, free: 56.8 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad.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.304548179963604]