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.0017/0.0017, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001993/0.001993, allocations: 216.4 kB / 23.03 MB, free: 4.949 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.432/1.432, allocations: 207.7 MB / 233.9 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.06899/0.06899, allocations: 14.39 MB / 300.5 MB, free: 7.258 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineShuntOneLoad",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.00216/0.00216, allocations: 71.34 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.08538, allocations: 52.9 MB / 474.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.008536/0.09392, allocations: 6.364 MB / 480.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006395/0.1003, allocations: 3.253 MB / 483.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.1009, allocations: 15.94 kB / 483.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.102, allocations: 397.7 kB / 484.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.1059, allocations: 1.531 MB / 485.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.107, allocations: 0.5605 MB / 486.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002204/0.1092, allocations: 1.82 MB / 488.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.1094, allocations: 74.36 kB / 488.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.1102, allocations: 0.6305 MB / 488.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.1111, allocations: 0.6303 MB / 489.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1112, allocations: 60 kB / 489.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008757/0.112, allocations: 419.7 kB / 490 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1122, allocations: 163.1 kB / 490.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.1127, allocations: 457.8 kB / 490.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.1145, allocations: 1.495 MB / 492.1 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1145, allocations: 3.984 kB / 492.1 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1145, allocations: 4 kB / 492.2 MB, free: 172 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1145, allocations: 0 / 492.2 MB, free: 172 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.005282/0.1198, allocations: 1.639 MB / 493.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1198, allocations: 8.031 kB / 493.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.413e-05/0.1199, allocations: 22.19 kB / 493.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.12, allocations: 118.7 kB / 493.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.1207, allocations: 152.3 kB / 494.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.122, allocations: 0.6116 MB / 494.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.1221, allocations: 61.88 kB / 494.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.1222, allocations: 68 kB / 494.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.1234, allocations: 0.7515 MB / 495.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.1234, allocations: 4 kB / 495.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.1235, allocations: 28 kB / 495.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1235, allocations: 20 kB / 495.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.1247, allocations: 0.6791 MB / 496.3 MB, free: 11.89 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.005536/0.1302, allocations: 3.044 MB / 499.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.1318, allocations: 0.7186 MB / 0.4883 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.1322, allocations: 267.8 kB / 0.4886 GB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.1323, allocations: 8.656 kB / 0.4886 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1323, allocations: 43.22 kB / 0.4887 GB, free: 7.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.725e-06/0.1323, allocations: 0 / 0.4887 GB, free: 7.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005045/0.1374, allocations: 1.529 MB / 0.4901 GB, free: 6.168 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1374, allocations: 60.06 kB / 0.4902 GB, free: 6.094 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007882/0.1382, allocations: 0.5498 MB / 0.4907 GB, free: 5.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.1383, allocations: 41.7 kB / 0.4908 GB, free: 5.488 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.1385, allocations: 364.6 kB / 0.4911 GB, free: 5.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.1388, allocations: 281.5 kB / 0.4914 GB, free: 4.848 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.139, allocations: 134.6 kB / 0.4915 GB, free: 4.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1392, allocations: 382.6 kB / 0.4919 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1396, allocations: 205.9 kB / 0.4921 GB, free: 4.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.14, allocations: 334 kB / 0.4924 GB, free: 3.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008798/0.1409, allocations: 0.5797 MB / 0.493 GB, free: 3.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1409, allocations: 0 / 0.493 GB, free: 3.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002017/0.1429, allocations: 0.9503 MB / 0.4939 GB, free: 2.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.143, allocations: 4 kB / 0.4939 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.143, allocations: 7.938 kB / 0.4939 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.1442, allocations: 321.5 kB / 0.4942 GB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.1449, allocations: 159.8 kB / 0.4944 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.1505, allocations: 3.339 MB / 0.4976 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.1516, allocations: 47.73 kB / 0.4977 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.1516, allocations: 28 kB / 0.4977 GB, free: 14.19 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 {(7,22)} Notification: Performance of prepare postOptimizeDAE: time 0.000414/0.152, allocations: 229.6 kB / 0.4979 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1522, allocations: 75.53 kB / 0.498 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.1541, allocations: 0.884 MB / 0.4989 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1541, allocations: 8 kB / 0.4989 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1541, allocations: 0 / 0.4989 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.1541, allocations: 3.984 kB / 0.4989 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.1572, allocations: 1.616 MB / 0.5004 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1572, allocations: 0 / 0.5004 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.1578, allocations: 123.9 kB / 0.5006 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.159, allocations: 300.8 kB / 0.5009 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.159, allocations: 16 kB / 0.5009 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/0.1642, allocations: 3.215 MB / 0.504 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1642, allocations: 0 / 0.504 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.1662, allocations: 0.937 MB / 0.5049 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.1666, allocations: 147.4 kB / 0.5051 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.1668, allocations: 20.06 kB / 0.5051 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.1673, allocations: 27.89 kB / 0.5051 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1675, allocations: 64.52 kB / 0.5052 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.1675, allocations: 23.94 kB / 0.5052 GB, free: 6.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005465/0.1681, allocations: 386.8 kB / 0.5056 GB, free: 5.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1681, allocations: 0 / 0.5056 GB, free: 5.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009879/0.1691, allocations: 335.8 kB / 0.5059 GB, free: 5.602 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 {(6,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002318/0.1714, allocations: 1.539 MB / 0.5074 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.1732, allocations: 0.8844 MB / 0.5082 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1732, allocations: 128 / 0.5082 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.1743, allocations: 0.5987 MB / 0.5088 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.175, allocations: 118.2 kB / 0.5089 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/0.185, allocations: 6.009 MB / 0.5148 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1853, allocations: 344.7 kB / 0.5151 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003472/0.1857, allocations: 85.31 kB / 0.5152 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.1861, allocations: 255.4 kB / 0.5155 GB, free: 11.53 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1861, allocations: 0 / 0.5155 GB, free: 11.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.303/0.4891, allocations: 20.52 MB / 0.5355 GB, free: 60.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/14.79, allocations: 4.344 kB / 0.5355 GB, free: 60.39 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.552588122081943]