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.001727/0.001727, allocations: 97.31 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.001616/0.001616, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.701/1.701, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.07515/0.07515, allocations: 14.39 MB / 300.5 MB, free: 7.242 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.00214/0.00214, allocations: 75.89 kB / 421.4 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1053, allocations: 52.89 MB / 474.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.008455/0.1138, allocations: 6.356 MB / 480.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.1204, allocations: 3.245 MB / 483.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1214, allocations: 27.88 kB / 483.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.1226, allocations: 389.8 kB / 484.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.1272, allocations: 1.523 MB / 485.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1283, allocations: 0.5747 MB / 486.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.1311, allocations: 1.817 MB / 488.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.1314, allocations: 70.38 kB / 488.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1324, allocations: 0.6304 MB / 488.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008573/0.1332, allocations: 0.6264 MB / 489.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.1333, allocations: 64 kB / 489.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1345, allocations: 419.7 kB / 490 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1347, allocations: 163.2 kB / 490.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.1352, allocations: 449.9 kB / 490.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.1374, allocations: 1.51 MB / 492.1 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1374, allocations: 0 / 492.1 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1374, allocations: 4 kB / 492.1 MB, free: 188 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1374, allocations: 0 / 492.1 MB, free: 188 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.005569/0.1429, allocations: 1.631 MB / 493.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.143, allocations: 8.031 kB / 493.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.114e-05/0.143, allocations: 26.12 kB / 493.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.1432, allocations: 118.7 kB / 493.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006636/0.1438, allocations: 152.3 kB / 494.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.1452, allocations: 0.6038 MB / 494.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.1452, allocations: 61.94 kB / 494.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1453, allocations: 71.98 kB / 494.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1466, allocations: 0.7553 MB / 495.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1466, allocations: 4 kB / 495.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.1467, allocations: 32 kB / 495.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.1467, allocations: 16 kB / 495.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.1479, allocations: 0.6714 MB / 496.3 MB, free: 11.92 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.00579/0.1537, allocations: 3.048 MB / 499.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.1553, allocations: 0.7303 MB / 0.4883 GB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.1558, allocations: 255.8 kB / 0.4886 GB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/0.1558, allocations: 8.656 kB / 0.4886 GB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1558, allocations: 43.16 kB / 0.4886 GB, free: 7.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=77): time 3.797e-06/0.1558, allocations: 4 kB / 0.4886 GB, free: 7.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=77): time 0.005141/0.161, allocations: 1.536 MB / 0.4901 GB, free: 6.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.161, allocations: 56.06 kB / 0.4902 GB, free: 6.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009268/0.162, allocations: 0.5538 MB / 0.4907 GB, free: 5.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.162, allocations: 33.7 kB / 0.4908 GB, free: 5.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.1624, allocations: 368.6 kB / 0.4911 GB, free: 5.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.1628, allocations: 281.5 kB / 0.4914 GB, free: 4.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.163, allocations: 126.6 kB / 0.4915 GB, free: 4.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003167/0.1633, allocations: 378.7 kB / 0.4919 GB, free: 4.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.1637, allocations: 205.9 kB / 0.4921 GB, free: 4.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.1643, allocations: 338 kB / 0.4924 GB, free: 3.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.1653, allocations: 0.5836 MB / 0.493 GB, free: 3.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.1653, allocations: 4 kB / 0.493 GB, free: 3.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00219/0.1675, allocations: 0.9424 MB / 0.4939 GB, free: 2.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.1675, allocations: 10.5 kB / 0.4939 GB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1675, allocations: 4.312 kB / 0.4939 GB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.1687, allocations: 309.3 kB / 0.4942 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.1693, allocations: 159.7 kB / 0.4943 GB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005609/0.1749, allocations: 3.291 MB / 0.4976 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/0.1758, allocations: 55.66 kB / 0.4976 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.1758, allocations: 28 kB / 0.4976 GB, free: 14.26 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.0004038/0.1762, allocations: 221.7 kB / 0.4978 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.1764, allocations: 75.53 kB / 0.4979 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.1783, allocations: 0.8841 MB / 0.4988 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1784, allocations: 8 kB / 0.4988 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1784, allocations: 0 / 0.4988 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.1784, allocations: 3.984 kB / 0.4988 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.1814, allocations: 1.613 MB / 0.5004 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1814, allocations: 0 / 0.5004 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.1819, allocations: 127.8 kB / 0.5005 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.183, allocations: 292.6 kB / 0.5008 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.1831, allocations: 20 kB / 0.5008 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/0.1881, allocations: 3.19 MB / 0.5039 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1881, allocations: 0 / 0.5039 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.1901, allocations: 0.9369 MB / 0.5048 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000403/0.1905, allocations: 163.3 kB / 0.505 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.1906, allocations: 12 kB / 0.505 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/0.1912, allocations: 23.92 kB / 0.505 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1913, allocations: 56.55 kB / 0.5051 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.1914, allocations: 16 kB / 0.5051 GB, free: 6.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005708/0.1919, allocations: 394.8 kB / 0.5055 GB, free: 6.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1919, allocations: 0 / 0.5055 GB, free: 6.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001114/0.193, allocations: 335.8 kB / 0.5058 GB, free: 5.715 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.002441/0.1955, allocations: 1.547 MB / 0.5073 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.1973, allocations: 0.8456 MB / 0.5081 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1973, allocations: 0 / 0.5081 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.1984, allocations: 0.5756 MB / 0.5087 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008392/0.1992, allocations: 109.7 kB / 0.5088 GB, free: 2.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.2095, allocations: 6.005 MB / 0.5146 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.2099, allocations: 352.7 kB / 0.515 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.2103, allocations: 81.31 kB / 0.5151 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.2107, allocations: 259.4 kB / 0.5153 GB, free: 11.7 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2107, allocations: 3.938 kB / 0.5153 GB, free: 11.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/0.4959, allocations: 20.33 MB / 0.5352 GB, free: 60.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.76, allocations: 13.14 kB / 0.5352 GB, free: 60.39 MB / 398.1 MB " [Timeout remaining time 645] (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: 17.978033329942264]