Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.445/1.445, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.06854/0.06854, allocations: 14.41 MB / 296.1 MB, free: 8.641 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 75.89 kB / 415.4 MB, free: 40.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07527/0.07734, allocations: 52.87 MB / 468.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008417/0.08575, allocations: 7.31 MB / 475.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005395/0.09115, allocations: 3.553 MB / 479.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004624/0.09161, allocations: 16 kB / 479.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.09256, allocations: 421.6 kB / 479.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.09636, allocations: 1.636 MB / 481.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.09759, allocations: 0.5793 MB / 481.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.1001, allocations: 1.844 MB / 483.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1003, allocations: 70.23 kB / 483.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008443/0.1011, allocations: 0.6304 MB / 484.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008641/0.102, allocations: 0.6381 MB / 485 MB, free: 3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.1021, allocations: 64 kB / 485 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1031, allocations: 431.7 kB / 485.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.1032, allocations: 163.2 kB / 485.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.1038, allocations: 0.5404 MB / 486.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1056, allocations: 1.51 MB / 487.6 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1056, allocations: 0 / 487.6 MB, free: 304 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1056, allocations: 0 / 487.6 MB, free: 304 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.1056, allocations: 0 / 487.6 MB, free: 304 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005429/0.1111, allocations: 1.772 MB / 489.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1111, allocations: 12.03 kB / 489.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.1113, allocations: 114.8 kB / 489.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/0.1119, allocations: 160.2 kB / 489.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.1132, allocations: 0.6733 MB / 490.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.134e-05/0.1133, allocations: 62.12 kB / 490.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.1134, allocations: 72 kB / 490.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1146, allocations: 0.7693 MB / 491.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1147, allocations: 3.938 kB / 491.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.1147, allocations: 32 kB / 491.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.1148, allocations: 20 kB / 491.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.116, allocations: 0.7026 MB / 492 MB, free: 11.77 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.0066/0.1226, allocations: 5.077 MB / 497.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.1243, allocations: 0.9028 MB / 498 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/0.1247, allocations: 266.7 kB / 498.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.983e-05/0.1247, allocations: 12.59 kB / 498.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1248, allocations: 39.22 kB / 498.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.184e-06/0.1248, allocations: 0 / 498.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003022/0.1278, allocations: 1.237 MB / 499.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.1278, allocations: 64 kB / 499.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.1286, allocations: 0.5503 MB / 0.4885 GB, free: 2.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.1286, allocations: 41.7 kB / 0.4885 GB, free: 2.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.1289, allocations: 372.7 kB / 0.4888 GB, free: 2.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.1292, allocations: 289.5 kB / 0.4891 GB, free: 2.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.1294, allocations: 130.6 kB / 0.4892 GB, free: 2.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1296, allocations: 370.8 kB / 0.4896 GB, free: 1.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1299, allocations: 217.9 kB / 0.4898 GB, free: 1.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.1304, allocations: 340.3 kB / 0.4901 GB, free: 1.211 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.1313, allocations: 0.5898 MB / 0.4907 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1313, allocations: 0 / 0.4907 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001594/0.1329, allocations: 0.8568 MB / 0.4915 GB, free: 15.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1329, allocations: 8 kB / 0.4916 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.1329, allocations: 4 kB / 0.4916 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.1336, allocations: 181 kB / 0.4917 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/0.1344, allocations: 195.7 kB / 0.4919 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.1379, allocations: 2.54 MB / 0.4944 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.1386, allocations: 51.67 kB / 0.4944 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.1387, allocations: 28 kB / 0.4945 GB, free: 12.58 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.000343/0.139, allocations: 225.8 kB / 0.4947 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.1392, allocations: 75.53 kB / 0.4948 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.1407, allocations: 0.7945 MB / 0.4955 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.1407, allocations: 8 kB / 0.4955 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1407, allocations: 4 kB / 0.4955 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1407, allocations: 8.078 kB / 0.4956 GB, free: 11.45 MB / 382.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 postOpt removeSimpleEquations (simulation): time 0.002809/0.1435, allocations: 1.85 MB / 0.4974 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1435, allocations: 0 / 0.4974 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006969/0.1442, allocations: 163.8 kB / 0.4975 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.1447, allocations: 168.7 kB / 0.4977 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.1447, allocations: 12 kB / 0.4977 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003244/0.148, allocations: 2.532 MB / 0.5002 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.148, allocations: 0 / 0.5002 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.1495, allocations: 0.8552 MB / 0.501 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.1499, allocations: 228.5 kB / 0.5012 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.15, allocations: 16 kB / 0.5012 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/0.1505, allocations: 31.92 kB / 0.5013 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/0.1506, allocations: 52.53 kB / 0.5013 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.1506, allocations: 16 kB / 0.5013 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005414/0.1511, allocations: 390.8 kB / 0.5017 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1511, allocations: 0 / 0.5017 GB, free: 4.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009237/0.1521, allocations: 303.8 kB / 0.502 GB, free: 4.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 (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.002027/0.1541, allocations: 1.476 MB / 0.5034 GB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.1557, allocations: 0.7758 MB / 0.5042 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1557, allocations: 0 / 0.5042 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.1565, allocations: 0.4942 MB / 0.5047 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006485/0.1571, allocations: 112 kB / 0.5048 GB, free: 1.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009173/0.1663, allocations: 5.817 MB / 0.5105 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006229/0.1669, allocations: 0.9348 MB / 0.5114 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.1673, allocations: 101.3 kB / 0.5115 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.1678, allocations: 271.3 kB / 0.5117 GB, free: 10.4 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1678, allocations: 0 / 0.5117 GB, free: 10.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2366/0.4043, allocations: 17.57 MB / 0.5289 GB, free: 61.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.61, allocations: 6.031 kB / 0.5289 GB, free: 61.25 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine_fmu --startTime=0 --stopTime=1 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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: 14.23059531999752]