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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 189.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05978/0.05979, allocations: 14.16 MB / 283.6 MB, free: 7.27 MB / 238.1 MB 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.001357/0.001357, allocations: 75.89 kB / 344.7 MB, free: 19.62 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.103, allocations: 50.13 MB / 394.8 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.007211/0.1103, allocations: 7.453 MB / 402.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.1154, allocations: 3.522 MB / 405.8 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.116, allocations: 19.94 kB / 405.8 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009708/0.1171, allocations: 366.4 kB / 406.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.1204, allocations: 1.45 MB / 407.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.1213, allocations: 0.5368 MB / 408.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.1235, allocations: 1.934 MB / 410.1 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.1237, allocations: 130.5 kB / 410.2 MB, free: 2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.1243, allocations: 0.5483 MB / 410.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.1249, allocations: 0.5679 MB / 411.3 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.125, allocations: 44 kB / 411.4 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007853/0.1258, allocations: 415.6 kB / 411.8 MB, free: 440 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1259, allocations: 135.3 kB / 411.9 MB, free: 304 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.1263, allocations: 0.5169 MB / 412.4 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.1276, allocations: 1.359 MB / 413.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.1277, allocations: 0 / 413.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1277, allocations: 0 / 413.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.1277, allocations: 4 kB / 413.8 MB, free: 14.41 MB / 318.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.00441/0.1321, allocations: 1.684 MB / 415.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1322, allocations: 12.03 kB / 415.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.1323, allocations: 114.8 kB / 415.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005965/0.1329, allocations: 151.7 kB / 415.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/0.1338, allocations: 0.6413 MB / 416.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.1339, allocations: 62.12 kB / 416.4 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/0.134, allocations: 72 kB / 416.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1351, allocations: 0.7654 MB / 417.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1351, allocations: 0 / 417.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.644e-05/0.1352, allocations: 32 kB / 417.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.1352, allocations: 24 kB / 417.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1362, allocations: 0.7065 MB / 418 MB, free: 10.02 MB / 318.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.004388/0.1406, allocations: 4.706 MB / 422.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.1422, allocations: 0.959 MB / 423.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.1426, allocations: 303.8 kB / 424 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.1426, allocations: 12.66 kB / 424 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1427, allocations: 39.16 kB / 424 MB, free: 3.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=78): time 1.894e-06/0.1427, allocations: 4 kB / 424 MB, free: 3.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=78): time 0.002797/0.1455, allocations: 1.237 MB / 425.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1455, allocations: 56.06 kB / 425.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.1461, allocations: 0.4984 MB / 425.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1461, allocations: 33.7 kB / 425.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.1464, allocations: 375.7 kB / 426.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1466, allocations: 272 kB / 426.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.1468, allocations: 138.5 kB / 426.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1469, allocations: 374.8 kB / 427 MB, free: 400 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.1473, allocations: 217.9 kB / 427.2 MB, free: 184 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1924/0.3397, allocations: 325.2 kB / 427.5 MB, free: 37.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008702/0.3406, allocations: 0.5933 MB / 428.1 MB, free: 37.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3406, allocations: 0 / 428.1 MB, free: 37.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001556/0.3422, allocations: 0.8542 MB / 429 MB, free: 37.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3422, allocations: 6.469 kB / 429 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3422, allocations: 2.125 kB / 429 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.3429, allocations: 184.3 kB / 429.2 MB, free: 37.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/0.3437, allocations: 209 kB / 429.4 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.3465, allocations: 2.53 MB / 431.9 MB, free: 35.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.3473, allocations: 57.02 kB / 432 MB, free: 35.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.3473, allocations: 23.39 kB / 432 MB, free: 35.86 MB / 318.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.0003211/0.3476, allocations: 234.3 kB / 432.2 MB, free: 35.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.3478, allocations: 76.06 kB / 432.3 MB, free: 35.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.3492, allocations: 0.7992 MB / 433.1 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3492, allocations: 7.172 kB / 433.1 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3492, allocations: 3.969 kB / 433.1 MB, free: 35.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.3493, allocations: 8.156 kB / 433.1 MB, free: 35.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.3517, allocations: 1.738 MB / 434.8 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3517, allocations: 0 / 434.8 MB, free: 34.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006691/0.3524, allocations: 164.3 kB / 435 MB, free: 34.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/0.3529, allocations: 173.1 kB / 435.2 MB, free: 34.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.3529, allocations: 14.97 kB / 435.2 MB, free: 34.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.3556, allocations: 2.529 MB / 437.7 MB, free: 32.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3556, allocations: 5.281 kB / 437.7 MB, free: 32.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.357, allocations: 0.8497 MB / 438.6 MB, free: 31.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.3572, allocations: 214.2 kB / 438.8 MB, free: 31.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.3573, allocations: 16.5 kB / 438.8 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.3577, allocations: 25.38 kB / 438.8 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.3578, allocations: 50.69 kB / 438.9 MB, free: 31.6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.3579, allocations: 16.72 kB / 438.9 MB, free: 31.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.3583, allocations: 351.2 kB / 439.2 MB, free: 31.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3583, allocations: 1.406 kB / 439.2 MB, free: 31.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.3591, allocations: 269.3 kB / 439.5 MB, free: 31.4 MB / 318.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.001634/0.3608, allocations: 1.473 MB / 441 MB, free: 30.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.3625, allocations: 0.8364 MB / 441.8 MB, free: 29.99 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3625, allocations: 0.5625 kB / 441.8 MB, free: 29.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.3632, allocations: 0.5039 MB / 442.3 MB, free: 29.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.3638, allocations: 91.2 kB / 442.4 MB, free: 29.68 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.3718, allocations: 6.059 MB / 448.5 MB, free: 26.03 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.3724, allocations: 0.9418 MB / 449.4 MB, free: 25.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000475/0.3729, allocations: 88.14 kB / 449.5 MB, free: 25.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.3732, allocations: 262.8 kB / 449.7 MB, free: 25.09 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3732, allocations: 1.5 kB / 449.7 MB, free: 25.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.4093, allocations: 15.03 MB / 464.8 MB, free: 13.21 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.4095, allocations: 219.3 kB / 465 MB, free: 12.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.458, allocations: 3.656 kB / 465 MB, free: 12.96 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesShuntTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine_res.mat","../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches