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.001864/0.001864, 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.002364/0.002364, allocations: 215.6 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.512/1.512, allocations: 207.7 MB / 233.9 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.06924/0.06924, 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.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesInductiveTransmissionLine",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.002173/0.002173, allocations: 71.03 kB / 421.4 MB, free: 39.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08212/0.08429, allocations: 52.89 MB / 474.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.008116/0.09241, allocations: 6.465 MB / 480.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005806/0.09821, allocations: 3.265 MB / 484 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009542/0.09917, allocations: 23.88 kB / 484.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.1005, allocations: 389.8 kB / 484.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.1043, allocations: 1.554 MB / 486 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1055, allocations: 0.5564 MB / 486.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.1078, allocations: 1.84 MB / 488.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.108, allocations: 74.36 kB / 488.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009138/0.1089, allocations: 0.6383 MB / 489.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008744/0.1098, allocations: 0.6342 MB / 489.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1099, allocations: 60 kB / 489.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.1108, allocations: 435.6 kB / 490.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.111, allocations: 155.3 kB / 490.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1115, allocations: 465.8 kB / 490.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.1135, allocations: 1.518 MB / 492.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1135, allocations: 0 / 492.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1135, allocations: 0 / 492.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1135, allocations: 0 / 492.3 MB, free: 15.96 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.005577/0.1191, allocations: 1.693 MB / 494 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1191, allocations: 8.031 kB / 494 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.988e-05/0.1191, allocations: 22.19 kB / 494.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1193, allocations: 122.8 kB / 494.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/0.1199, allocations: 152.2 kB / 494.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.1212, allocations: 0.6244 MB / 495 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.1213, allocations: 61.94 kB / 495 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.1214, allocations: 68 kB / 495.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.1226, allocations: 0.7654 MB / 495.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1227, allocations: 7.938 kB / 495.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.1227, allocations: 31.94 kB / 495.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.1228, allocations: 20 kB / 495.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.124, allocations: 0.7066 MB / 496.6 MB, free: 11.58 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.005518/0.1295, allocations: 2.927 MB / 499.5 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.1311, allocations: 0.7428 MB / 0.4886 GB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004336/0.1315, allocations: 258.8 kB / 0.4888 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.1316, allocations: 12.64 kB / 0.4888 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.1316, allocations: 43.22 kB / 0.4889 GB, free: 7.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/0.1316, allocations: 0 / 0.4889 GB, free: 7.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003026/0.1347, allocations: 1.158 MB / 0.49 GB, free: 6.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1347, allocations: 60.06 kB / 0.49 GB, free: 6.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.1355, allocations: 0.55 MB / 0.4906 GB, free: 5.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.1356, allocations: 37.7 kB / 0.4906 GB, free: 5.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.1359, allocations: 372.7 kB / 0.491 GB, free: 5.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.1362, allocations: 285.5 kB / 0.4912 GB, free: 5.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.1364, allocations: 130.6 kB / 0.4914 GB, free: 4.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1366, allocations: 378.8 kB / 0.4917 GB, free: 4.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.137, allocations: 217.9 kB / 0.4919 GB, free: 4.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/0.1375, allocations: 344.2 kB / 0.4923 GB, free: 3.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.1384, allocations: 0.578 MB / 0.4928 GB, free: 3.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1384, allocations: 0 / 0.4928 GB, free: 3.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001683/0.1401, allocations: 0.8606 MB / 0.4937 GB, free: 2.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1401, allocations: 4 kB / 0.4937 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1401, allocations: 4.312 kB / 0.4937 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/0.1407, allocations: 184.7 kB / 0.4939 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/0.1416, allocations: 195.8 kB / 0.494 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.145, allocations: 2.401 MB / 0.4964 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/0.1458, allocations: 47.73 kB / 0.4964 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.1459, allocations: 28 kB / 0.4965 GB, free: 15.46 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.0003778/0.1462, allocations: 222.3 kB / 0.4967 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.1464, allocations: 79.47 kB / 0.4968 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.1482, allocations: 0.7985 MB / 0.4975 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1482, allocations: 8 kB / 0.4975 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1482, allocations: 0 / 0.4975 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1483, allocations: 3.984 kB / 0.4975 GB, free: 14.33 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.002611/0.1509, allocations: 1.546 MB / 0.4991 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1509, allocations: 0 / 0.4991 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/0.1516, allocations: 167.8 kB / 0.4992 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/0.1521, allocations: 172 kB / 0.4994 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.1522, allocations: 15.94 kB / 0.4994 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003292/0.1554, allocations: 2.385 MB / 0.5017 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1554, allocations: 0 / 0.5017 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.157, allocations: 0.8669 MB / 0.5026 GB, free: 9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003677/0.1574, allocations: 147.4 kB / 0.5027 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.1575, allocations: 11.98 kB / 0.5027 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.158, allocations: 20 kB / 0.5027 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1581, allocations: 56.48 kB / 0.5028 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.1582, allocations: 16 kB / 0.5028 GB, free: 8.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005389/0.1587, allocations: 386.8 kB / 0.5032 GB, free: 8.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1587, allocations: 0 / 0.5032 GB, free: 8.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009527/0.1597, allocations: 307.8 kB / 0.5035 GB, free: 8.078 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.001981/0.1616, allocations: 1.473 MB / 0.5049 GB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.1631, allocations: 0.7836 MB / 0.5057 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1632, allocations: 0 / 0.5057 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008376/0.164, allocations: 0.4903 MB / 0.5062 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.1647, allocations: 116.8 kB / 0.5063 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009088/0.1738, allocations: 5.818 MB / 0.5119 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.1742, allocations: 348.7 kB / 0.5123 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004119/0.1746, allocations: 97.28 kB / 0.5124 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/0.175, allocations: 271.3 kB / 0.5126 GB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.175, allocations: 0 / 0.5126 GB, free: 14.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/0.4087, allocations: 18.43 MB / 0.5306 GB, free: 61.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.51, allocations: 9.016 kB / 0.5306 GB, free: 61.7 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.339479505084455]