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.001257/0.001257, allocations: 97.88 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.001395/0.001395, allocations: 216.5 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.555/1.555, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.08248/0.08248, allocations: 14.38 MB / 300.5 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.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.002154/0.002154, allocations: 71.89 kB / 421.4 MB, free: 39.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09685, allocations: 52.9 MB / 474.3 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.008531/0.1054, allocations: 6.453 MB / 480.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.1115, allocations: 3.265 MB / 484 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005117/0.112, allocations: 23.88 kB / 484.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.1131, allocations: 393.7 kB / 484.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.1172, allocations: 1.558 MB / 486 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.1183, allocations: 0.5641 MB / 486.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.1208, allocations: 1.837 MB / 488.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.121, allocations: 70.42 kB / 488.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009397/0.122, allocations: 0.6383 MB / 489.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008507/0.1228, allocations: 0.6459 MB / 489.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.1229, allocations: 63.94 kB / 489.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.1239, allocations: 423.7 kB / 490.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.124, allocations: 155.3 kB / 490.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.1246, allocations: 457.8 kB / 490.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.1268, allocations: 1.526 MB / 492.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1268, allocations: 0 / 492.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1268, allocations: 0 / 492.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1268, allocations: 0 / 492.4 MB, free: 15.97 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.005448/0.1323, allocations: 1.693 MB / 494 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1323, allocations: 12.03 kB / 494.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.31e-05/0.1323, allocations: 18.19 kB / 494.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.1325, allocations: 122.8 kB / 494.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/0.1331, allocations: 152.2 kB / 494.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.1344, allocations: 0.6245 MB / 495 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.1345, allocations: 61.94 kB / 495 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.1346, allocations: 68 kB / 495.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1358, allocations: 0.7615 MB / 495.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1358, allocations: 7.938 kB / 495.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.1359, allocations: 32 kB / 495.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1359, allocations: 20 kB / 495.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1371, allocations: 0.7065 MB / 496.6 MB, free: 11.59 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.005555/0.1427, allocations: 2.923 MB / 499.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.1443, allocations: 0.7428 MB / 0.4886 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.1447, allocations: 258.8 kB / 0.4888 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.1448, allocations: 8.656 kB / 0.4888 GB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1448, allocations: 43.22 kB / 0.4889 GB, free: 7.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.956e-06/0.1448, allocations: 0 / 0.4889 GB, free: 7.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.003015/0.1478, allocations: 1.162 MB / 0.49 GB, free: 6.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1479, allocations: 60.06 kB / 0.49 GB, free: 6.273 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007923/0.1487, allocations: 0.55 MB / 0.4906 GB, free: 5.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.1487, allocations: 37.7 kB / 0.4906 GB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.149, allocations: 368.7 kB / 0.491 GB, free: 5.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.1493, allocations: 289.5 kB / 0.4913 GB, free: 5.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.1495, allocations: 134.6 kB / 0.4914 GB, free: 4.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1497, allocations: 378.7 kB / 0.4917 GB, free: 4.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.1501, allocations: 225.9 kB / 0.492 GB, free: 4.281 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.1506, allocations: 332.3 kB / 0.4923 GB, free: 3.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009025/0.1515, allocations: 0.5858 MB / 0.4928 GB, free: 3.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1515, allocations: 0 / 0.4928 GB, free: 3.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001622/0.1531, allocations: 0.857 MB / 0.4937 GB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1531, allocations: 8.031 kB / 0.4937 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1531, allocations: 8 kB / 0.4937 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.1537, allocations: 176.7 kB / 0.4939 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000805/0.1545, allocations: 195.8 kB / 0.4941 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/0.158, allocations: 2.413 MB / 0.4964 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.1588, allocations: 47.73 kB / 0.4965 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.1588, 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.0003587/0.1592, allocations: 226.3 kB / 0.4967 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.1593, allocations: 83.47 kB / 0.4968 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.1609, allocations: 0.7945 MB / 0.4976 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1609, allocations: 8 kB / 0.4976 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1609, allocations: 0 / 0.4976 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.1609, allocations: 7.984 kB / 0.4976 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.1635, allocations: 1.542 MB / 0.4991 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1635, allocations: 0 / 0.4991 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.1641, allocations: 167.7 kB / 0.4992 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.1647, allocations: 168.7 kB / 0.4994 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.1647, allocations: 15.94 kB / 0.4994 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003156/0.1679, allocations: 2.393 MB / 0.5017 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1679, allocations: 4 kB / 0.5018 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.1694, allocations: 0.8591 MB / 0.5026 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.1698, allocations: 147.6 kB / 0.5027 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.1699, allocations: 12 kB / 0.5027 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.1704, allocations: 31.97 kB / 0.5028 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.1705, allocations: 52.48 kB / 0.5028 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.1705, allocations: 20 kB / 0.5028 GB, free: 8.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005514/0.1711, allocations: 382.8 kB / 0.5032 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1711, allocations: 0 / 0.5032 GB, free: 8.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009732/0.1721, allocations: 307.8 kB / 0.5035 GB, free: 8.059 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.001921/0.174, allocations: 1.469 MB / 0.5049 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.1754, allocations: 0.7641 MB / 0.5057 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1754, allocations: 128 / 0.5057 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000752/0.1762, allocations: 498 kB / 0.5062 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.1769, allocations: 113.7 kB / 0.5063 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.1858, allocations: 5.812 MB / 0.5119 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1862, allocations: 344.7 kB / 0.5123 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004034/0.1866, allocations: 93.31 kB / 0.5124 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.1871, allocations: 271.3 kB / 0.5126 GB, free: 14.49 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1871, allocations: 0 / 0.5126 GB, free: 14.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2308/0.4178, allocations: 18.46 MB / 0.5306 GB, free: 61.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.44, allocations: 8.25 kB / 0.5306 GB, free: 61.71 MB / 398.1 MB " [Timeout remaining time 646] (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.321353911072947]