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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001505/0.001505, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.451/1.451, allocations: 207.7 MB / 233.1 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.07115/0.07115, allocations: 14.38 MB / 299.7 MB, free: 7.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine",fmuType="me",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.002376/0.002376, allocations: 71.19 kB / 420.6 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09586, allocations: 52.9 MB / 473.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.008374/0.1042, allocations: 6.462 MB / 480 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006568/0.1108, allocations: 3.273 MB / 483.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009749/0.1118, allocations: 23.88 kB / 483.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.1132, allocations: 385.8 kB / 483.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.1181, allocations: 1.556 MB / 485.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1195, allocations: 0.5675 MB / 485.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00377/0.1233, allocations: 1.833 MB / 487.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.1237, allocations: 70.42 kB / 487.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.1253, allocations: 0.6344 MB / 488.3 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.1265, allocations: 0.5756 MB / 488.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1266, allocations: 68 kB / 489 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.1283, allocations: 415.6 kB / 489.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1285, allocations: 159.2 kB / 489.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007265/0.1292, allocations: 461.8 kB / 490 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002777/0.132, allocations: 1.518 MB / 491.5 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.132, allocations: 0 / 491.5 MB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.132, allocations: 0 / 491.5 MB, free: 48 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.132, allocations: 0 / 491.5 MB, free: 48 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.006191/0.1382, allocations: 1.693 MB / 493.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.1382, allocations: 12.02 kB / 493.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.1384, allocations: 114.8 kB / 493.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/0.1391, allocations: 156.2 kB / 493.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.1406, allocations: 0.6245 MB / 494.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.1406, allocations: 58.12 kB / 494.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1407, allocations: 72 kB / 494.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1421, allocations: 0.7732 MB / 495 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1421, allocations: 0 / 495 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.1422, allocations: 32 kB / 495 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.1422, allocations: 16 kB / 495 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1435, allocations: 0.7026 MB / 495.7 MB, free: 11.69 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.005724/0.1492, allocations: 2.919 MB / 498.7 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.151, allocations: 0.7414 MB / 499.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.1514, allocations: 262.7 kB / 499.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-05/0.1515, allocations: 8.656 kB / 499.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.1515, allocations: 43.22 kB / 499.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.476e-06/0.1515, allocations: 0 / 499.7 MB, free: 7.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003085/0.1546, allocations: 1.163 MB / 0.4891 GB, free: 6.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1547, allocations: 60.06 kB / 0.4892 GB, free: 6.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007619/0.1554, allocations: 0.5575 MB / 0.4897 GB, free: 5.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.1555, allocations: 41.64 kB / 0.4898 GB, free: 5.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.1558, allocations: 368.7 kB / 0.4901 GB, free: 5.391 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.1561, allocations: 289.5 kB / 0.4904 GB, free: 5.105 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.1563, allocations: 130.6 kB / 0.4905 GB, free: 4.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.1565, allocations: 374.8 kB / 0.4909 GB, free: 4.598 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.1569, allocations: 221.9 kB / 0.4911 GB, free: 4.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.1574, allocations: 332.3 kB / 0.4914 GB, free: 4.023 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/0.1583, allocations: 0.5937 MB / 0.492 GB, free: 3.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1583, allocations: 0 / 0.492 GB, free: 3.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00158/0.1599, allocations: 0.8567 MB / 0.4928 GB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1599, allocations: 4 kB / 0.4928 GB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1599, allocations: 4.312 kB / 0.4928 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.1605, allocations: 176.7 kB / 0.493 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.1614, allocations: 195.8 kB / 0.4932 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003419/0.1648, allocations: 2.409 MB / 0.4955 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.1655, allocations: 59.7 kB / 0.4956 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.1655, allocations: 24 kB / 0.4956 GB, free: 15.55 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.000341/0.1659, allocations: 225.7 kB / 0.4958 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.166, allocations: 75.53 kB / 0.4959 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.1676, allocations: 0.8022 MB / 0.4967 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.1676, allocations: 8 kB / 0.4967 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1676, allocations: 4 kB / 0.4967 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.1676, allocations: 3.984 kB / 0.4967 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.1704, allocations: 1.546 MB / 0.4982 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1705, allocations: 0 / 0.4982 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.1712, allocations: 159.8 kB / 0.4984 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005152/0.1717, allocations: 176.6 kB / 0.4985 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.1717, allocations: 12 kB / 0.4986 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/0.1752, allocations: 2.405 MB / 0.5009 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1752, allocations: 0 / 0.5009 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.1767, allocations: 0.8552 MB / 0.5017 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.1771, allocations: 155.3 kB / 0.5019 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.1772, allocations: 12 kB / 0.5019 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.1778, allocations: 20 kB / 0.5019 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.604e-05/0.1779, allocations: 56.48 kB / 0.502 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.1779, allocations: 20 kB / 0.502 GB, free: 8.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.1784, allocations: 386.8 kB / 0.5024 GB, free: 8.445 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1784, allocations: 0 / 0.5024 GB, free: 8.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008909/0.1793, allocations: 311.8 kB / 0.5027 GB, free: 8.141 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.001977/0.1813, allocations: 1.465 MB / 0.5041 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.1828, allocations: 0.7636 MB / 0.5048 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1828, allocations: 0 / 0.5048 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.1836, allocations: 498.5 kB / 0.5053 GB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.1844, allocations: 112.2 kB / 0.5054 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009233/0.1936, allocations: 5.806 MB / 0.5111 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.194, allocations: 348.7 kB / 0.5114 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004157/0.1944, allocations: 93.31 kB / 0.5115 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.1948, allocations: 275.3 kB / 0.5118 GB, free: 14.58 MB / 398.1 MB Notification: Performance of SimCode: time 1.213e-06/0.1948, allocations: 0 / 0.5118 GB, free: 14.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.267/0.4618, allocations: 18.58 MB / 0.5299 GB, free: 61.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.56, allocations: 10.89 kB / 0.5299 GB, free: 61.11 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: 15.320786287076771]