Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.001415/0.001415, 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.001656/0.001656, 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.522/1.522, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.06796/0.06796, allocations: 14.39 MB / 300.5 MB, free: 7.449 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.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",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.002192/0.002192, allocations: 71.89 kB / 421.4 MB, free: 39.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.08474, allocations: 52.9 MB / 474.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.008673/0.09342, allocations: 7.329 MB / 481.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.09953, allocations: 3.572 MB / 485.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006204/0.1001, allocations: 23.88 kB / 485.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009762/0.1011, allocations: 405.7 kB / 485.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.1048, allocations: 1.62 MB / 487.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1061, allocations: 0.5972 MB / 487.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.1084, allocations: 1.848 MB / 489.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.1086, allocations: 74.41 kB / 489.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008364/0.1094, allocations: 0.6343 MB / 490.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/0.1103, allocations: 0.6381 MB / 491 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.531e-05/0.1104, allocations: 67.98 kB / 491.1 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009172/0.1113, allocations: 423.7 kB / 491.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1114, allocations: 163.2 kB / 491.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.1119, allocations: 0.5442 MB / 492.2 MB, free: 304 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.1138, allocations: 1.518 MB / 493.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1138, allocations: 4 kB / 493.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1138, allocations: 0 / 493.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1138, allocations: 0 / 493.8 MB, free: 14.77 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005471/0.1193, allocations: 1.689 MB / 495.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1194, allocations: 16.03 kB / 495.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.659e-05/0.1194, allocations: 18.19 kB / 495.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.1195, allocations: 118.8 kB / 495.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006264/0.1201, allocations: 156.2 kB / 495.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.1215, allocations: 0.6206 MB / 496.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.1215, allocations: 57.94 kB / 496.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1216, allocations: 68 kB / 496.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1229, allocations: 0.7732 MB / 497.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1229, allocations: 0 / 497.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.123, allocations: 32 kB / 497.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.123, allocations: 16 kB / 497.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.1242, allocations: 0.7026 MB / 498 MB, free: 10.4 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.006872/0.131, allocations: 5.06 MB / 0.4913 GB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.1327, allocations: 0.7457 MB / 0.492 GB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.1331, allocations: 274.6 kB / 0.4923 GB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.328e-05/0.1332, allocations: 12.64 kB / 0.4923 GB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1332, allocations: 39.22 kB / 0.4923 GB, free: 3.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.665e-06/0.1332, allocations: 3.938 kB / 0.4923 GB, free: 3.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003043/0.1362, allocations: 1.162 MB / 0.4935 GB, free: 2.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1363, allocations: 60.06 kB / 0.4935 GB, free: 2.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.137, allocations: 0.5462 MB / 0.494 GB, free: 1.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.1371, allocations: 37.7 kB / 0.4941 GB, free: 1.887 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.1374, allocations: 372.7 kB / 0.4944 GB, free: 1.516 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.1377, allocations: 293.5 kB / 0.4947 GB, free: 1.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.1379, allocations: 130.6 kB / 0.4948 GB, free: 1.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1381, allocations: 370.8 kB / 0.4952 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.1384, allocations: 217.9 kB / 0.4954 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.1389, allocations: 336.3 kB / 0.4957 GB, free: 148 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.1398, allocations: 0.5897 MB / 0.4963 GB, free: 15.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1398, allocations: 0 / 0.4963 GB, free: 15.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001598/0.1414, allocations: 0.8529 MB / 0.4971 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1414, allocations: 8 kB / 0.4971 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1414, allocations: 4 kB / 0.4971 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.142, allocations: 180.9 kB / 0.4973 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.1428, allocations: 203.8 kB / 0.4975 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003368/0.1462, allocations: 2.448 MB / 0.4999 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.147, allocations: 47.73 kB / 0.4999 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.147, allocations: 28 kB / 0.5 GB, free: 11.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (83): * Single equations (assignments): 82 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.1474, allocations: 230.3 kB / 0.5002 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.1475, allocations: 79.47 kB / 0.5003 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.149, allocations: 0.7945 MB / 0.501 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.149, allocations: 8 kB / 0.5011 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.149, allocations: 0 / 0.5011 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.149, allocations: 3.984 kB / 0.5011 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.1518, allocations: 1.818 MB / 0.5028 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1518, allocations: 0 / 0.5028 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/0.1525, allocations: 159.8 kB / 0.503 GB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.153, allocations: 180 kB / 0.5032 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.153, allocations: 19.94 kB / 0.5032 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.1563, allocations: 2.429 MB / 0.5055 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1563, allocations: 0 / 0.5055 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.1579, allocations: 0.8708 MB / 0.5064 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.1582, allocations: 147.4 kB / 0.5065 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1584, allocations: 16 kB / 0.5066 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005394/0.1589, allocations: 20.12 kB / 0.5066 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/0.159, allocations: 56.48 kB / 0.5066 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.159, allocations: 19.98 kB / 0.5066 GB, free: 4.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005745/0.1596, allocations: 394.8 kB / 0.507 GB, free: 4.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1596, allocations: 0 / 0.507 GB, free: 4.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009584/0.1606, allocations: 307.8 kB / 0.5073 GB, free: 3.887 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 (63): * Single equations (assignments): 62 * 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): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.1625, allocations: 1.457 MB / 0.5087 GB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.164, allocations: 0.7641 MB / 0.5095 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.164, allocations: 0 / 0.5095 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.1648, allocations: 486 kB / 0.5099 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.1655, allocations: 116 kB / 0.5101 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/0.1749, allocations: 5.821 MB / 0.5157 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.1756, allocations: 0.9349 MB / 0.5167 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.176, allocations: 97.28 kB / 0.5168 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.1765, allocations: 267.3 kB / 0.517 GB, free: 9.727 MB / 398.1 MB Notification: Performance of SimCode: time 1.303e-06/0.1765, allocations: 0 / 0.517 GB, free: 9.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.4526, allocations: 18.25 MB / 0.5348 GB, free: 59.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.27, allocations: 4.188 kB / 0.5348 GB, free: 59.96 MB / 398.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.13788138097152]