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.001741/0.001741, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002209/0.002209, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.436/1.436, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.07186/0.07186, allocations: 14.39 MB / 300.5 MB, free: 7.438 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.00218/0.00218, allocations: 65.31 kB / 421.4 MB, free: 39.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08072/0.0829, allocations: 52.89 MB / 474.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineShuntOneLoad): time 0.008708/0.09161, allocations: 7.201 MB / 481.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006138/0.09774, allocations: 3.557 MB / 485.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.09834, allocations: 19.88 kB / 485.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.0994, allocations: 413.7 kB / 485.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.1035, allocations: 1.589 MB / 487.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.1047, allocations: 0.605 MB / 487.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.1073, allocations: 1.824 MB / 489.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.1075, allocations: 78.38 kB / 489.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.1086, allocations: 0.6304 MB / 490.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008566/0.1094, allocations: 0.6225 MB / 490.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1095, allocations: 64 kB / 490.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009562/0.1105, allocations: 431.7 kB / 491.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1106, allocations: 155.2 kB / 491.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.1112, allocations: 0.5403 MB / 492 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1132, allocations: 1.499 MB / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1132, allocations: 0 / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1132, allocations: 0 / 493.5 MB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.1133, allocations: 0 / 493.5 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.005523/0.1188, allocations: 1.635 MB / 495.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1188, allocations: 16.03 kB / 495.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.943e-05/0.1189, allocations: 22.12 kB / 495.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.119, allocations: 126.6 kB / 495.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00067/0.1197, allocations: 148.3 kB / 495.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.1211, allocations: 0.6077 MB / 496.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.1211, allocations: 57.94 kB / 496.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.647e-05/0.1212, allocations: 64 kB / 496.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.1225, allocations: 0.7592 MB / 497 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1225, allocations: 0 / 497 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.1226, allocations: 35.94 kB / 497 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.1226, allocations: 20 kB / 497 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1238, allocations: 0.6714 MB / 497.7 MB, free: 10.73 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.006779/0.1305, allocations: 5.181 MB / 0.4911 GB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.1321, allocations: 0.7294 MB / 0.4918 GB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.1326, allocations: 255.8 kB / 0.492 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.1326, allocations: 12.59 kB / 0.492 GB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1327, allocations: 43.22 kB / 0.4921 GB, free: 3.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 2.335e-06/0.1327, allocations: 4 kB / 0.4921 GB, free: 3.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.004891/0.1375, allocations: 1.471 MB / 0.4935 GB, free: 2.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.1376, allocations: 60.06 kB / 0.4936 GB, free: 2.402 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.1384, allocations: 0.5576 MB / 0.4941 GB, free: 1.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.1384, allocations: 37.7 kB / 0.4942 GB, free: 1.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.1387, allocations: 364.6 kB / 0.4945 GB, free: 1.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.139, allocations: 281.5 kB / 0.4948 GB, free: 1.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.1392, allocations: 130.6 kB / 0.4949 GB, free: 1.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1394, allocations: 374.8 kB / 0.4953 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.1397, allocations: 205.9 kB / 0.4955 GB, free: 456 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.1402, allocations: 334 kB / 0.4958 GB, free: 76 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.1411, allocations: 0.5797 MB / 0.4963 GB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1411, allocations: 4 kB / 0.4963 GB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001985/0.1431, allocations: 0.9316 MB / 0.4973 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1431, allocations: 14.56 kB / 0.4973 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1431, allocations: 8 kB / 0.4973 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.1443, allocations: 313.7 kB / 0.4976 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.1449, allocations: 163.8 kB / 0.4977 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/0.1502, allocations: 3.286 MB / 0.5009 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.151, allocations: 59.66 kB / 0.501 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.151, allocations: 28 kB / 0.501 GB, free: 10.56 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.0003426/0.1514, allocations: 217.7 kB / 0.5012 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1515, allocations: 79.53 kB / 0.5013 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.1535, allocations: 0.8645 MB / 0.5022 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1535, allocations: 15.94 kB / 0.5022 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1535, allocations: 0 / 0.5022 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.1535, allocations: 3.984 kB / 0.5022 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/0.1567, allocations: 1.884 MB / 0.504 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1567, allocations: 0 / 0.504 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005642/0.1573, allocations: 123.9 kB / 0.5041 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.1584, allocations: 301 kB / 0.5044 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.1584, allocations: 16 kB / 0.5044 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.1637, allocations: 3.177 MB / 0.5075 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1637, allocations: 0 / 0.5075 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.1662, allocations: 0.933 MB / 0.5084 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.1669, allocations: 151.4 kB / 0.5086 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.1671, allocations: 20.06 kB / 0.5086 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.1677, allocations: 20 kB / 0.5086 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.1678, allocations: 56.53 kB / 0.5087 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.1679, allocations: 20 kB / 0.5087 GB, free: 2.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005642/0.1684, allocations: 386.8 kB / 0.5091 GB, free: 2.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 0 / 0.5091 GB, free: 2.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001049/0.1695, allocations: 331.8 kB / 0.5094 GB, free: 1.766 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.002383/0.1719, allocations: 1.543 MB / 0.5109 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.1737, allocations: 0.8759 MB / 0.5117 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1737, allocations: 4.188 kB / 0.5118 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.1748, allocations: 0.5707 MB / 0.5123 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.1755, allocations: 118.2 kB / 0.5124 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.1858, allocations: 5.997 MB / 0.5183 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.1864, allocations: 0.9429 MB / 0.5192 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000341/0.1868, allocations: 81.31 kB / 0.5193 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.1872, allocations: 259.3 kB / 0.5195 GB, free: 7.125 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1872, allocations: 0 / 0.5195 GB, free: 7.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/0.4211, allocations: 20.81 MB / 0.5398 GB, free: 56.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.61, allocations: 6.969 kB / 0.5399 GB, free: 56.67 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.316660489013884]