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.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.002033/0.002033, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.002393/0.002393, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.421/1.421, allocations: 207.7 MB / 233.1 MB, free: 9.812 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.06962/0.06962, allocations: 14.39 MB / 299.7 MB, free: 7.254 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.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.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.002218/0.002218, allocations: 69.31 kB / 420.6 MB, free: 39.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.0782, allocations: 52.9 MB / 473.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008538/0.08673, allocations: 6.462 MB / 480 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.09234, allocations: 3.269 MB / 483.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.09299, allocations: 19.88 kB / 483.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.09425, allocations: 397.8 kB / 483.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.09828, allocations: 1.557 MB / 485.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.09947, allocations: 0.5679 MB / 485.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002279/0.1018, allocations: 1.825 MB / 487.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.102, allocations: 70.42 kB / 487.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008541/0.1028, allocations: 0.6383 MB / 488.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.1037, allocations: 0.5795 MB / 488.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1038, allocations: 63.94 kB / 489 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.1046, allocations: 407.7 kB / 489.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1048, allocations: 163.2 kB / 489.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.1053, allocations: 461.8 kB / 490 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.1073, allocations: 1.522 MB / 491.5 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1073, allocations: 0 / 491.5 MB, free: 44 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1073, allocations: 0 / 491.5 MB, free: 44 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1073, allocations: 0 / 491.5 MB, free: 44 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.005296/0.1126, allocations: 1.689 MB / 493.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1126, allocations: 16.03 kB / 493.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.1128, allocations: 118.8 kB / 493.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.1134, allocations: 152.2 kB / 493.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.1148, allocations: 0.6245 MB / 494.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.1149, allocations: 58.12 kB / 494.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.115, allocations: 72 kB / 494.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.1163, allocations: 0.7693 MB / 495 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1163, allocations: 3.938 kB / 495 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.1163, allocations: 32 kB / 495 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.1164, allocations: 23.94 kB / 495 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1176, allocations: 0.687 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.005645/0.1233, allocations: 2.927 MB / 498.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.125, allocations: 0.7452 MB / 499.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.1255, allocations: 267.4 kB / 499.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.1255, allocations: 8.656 kB / 499.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1255, allocations: 39.22 kB / 499.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.036e-06/0.1255, allocations: 0 / 499.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003169/0.1287, allocations: 1.159 MB / 0.4891 GB, free: 6.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1288, allocations: 60.06 kB / 0.4892 GB, free: 6.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000887/0.1297, allocations: 0.5614 MB / 0.4897 GB, free: 5.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.1297, allocations: 37.7 kB / 0.4898 GB, free: 5.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.1301, allocations: 368.7 kB / 0.4901 GB, free: 5.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.1304, allocations: 289.5 kB / 0.4904 GB, free: 5.102 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1306, allocations: 130.6 kB / 0.4905 GB, free: 4.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1308, allocations: 378.8 kB / 0.4909 GB, free: 4.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.1312, allocations: 213.9 kB / 0.4911 GB, free: 4.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.1316, allocations: 336.3 kB / 0.4914 GB, free: 4.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.1326, allocations: 0.5898 MB / 0.492 GB, free: 3.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1326, allocations: 0 / 0.492 GB, free: 3.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001821/0.1344, allocations: 0.8568 MB / 0.4928 GB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.1344, allocations: 8 kB / 0.4928 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1344, allocations: 0 / 0.4928 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.1351, allocations: 181 kB / 0.493 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.1359, allocations: 199.8 kB / 0.4932 GB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.1393, allocations: 2.393 MB / 0.4955 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000779/0.1401, allocations: 55.67 kB / 0.4956 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.1402, allocations: 28 kB / 0.4956 GB, free: 15.56 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.0003602/0.1405, allocations: 217.7 kB / 0.4958 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.1407, allocations: 79.58 kB / 0.4959 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.1422, allocations: 0.7983 MB / 0.4967 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1422, allocations: 12 kB / 0.4967 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1422, allocations: 0 / 0.4967 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.1422, allocations: 11.92 kB / 0.4967 GB, free: 14.42 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.002708/0.1449, allocations: 1.535 MB / 0.4982 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1449, allocations: 3.984 kB / 0.4982 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.1456, allocations: 163.8 kB / 0.4984 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/0.1462, allocations: 172.4 kB / 0.4985 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.1462, allocations: 8 kB / 0.4985 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003333/0.1495, allocations: 2.388 MB / 0.5009 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1496, allocations: 3.938 kB / 0.5009 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.1512, allocations: 0.8591 MB / 0.5017 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.1517, allocations: 155.3 kB / 0.5018 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.1518, allocations: 15.98 kB / 0.5019 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.1523, allocations: 20 kB / 0.5019 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.1524, allocations: 60.67 kB / 0.5019 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.1524, allocations: 16 kB / 0.502 GB, free: 8.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005791/0.153, allocations: 386.8 kB / 0.5023 GB, free: 8.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.153, allocations: 0 / 0.5023 GB, free: 8.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009248/0.1539, allocations: 311.8 kB / 0.5026 GB, free: 8.168 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.00194/0.1559, allocations: 1.457 MB / 0.504 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.1576, allocations: 0.7875 MB / 0.5048 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1576, allocations: 0 / 0.5048 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008723/0.1585, allocations: 0.4981 MB / 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.000777/0.1592, allocations: 116.3 kB / 0.5054 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009536/0.1688, allocations: 5.818 MB / 0.5111 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1692, allocations: 348.7 kB / 0.5114 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004533/0.1696, allocations: 89.31 kB / 0.5115 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.1701, allocations: 271.3 kB / 0.5118 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1701, allocations: 0 / 0.5118 GB, free: 14.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2318/0.4018, allocations: 18.58 MB / 0.5299 GB, free: 61.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.57, allocations: 4.188 kB / 0.5299 GB, free: 61.35 MB / 398.1 MB " [Timeout remaining time 647] (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/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.169502604752779]