Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad",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.001714/0.001714, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002337/0.002337, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.784/1.784, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06674/0.06674, allocations: 14.17 MB / 283.9 MB, free: 7.066 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.002611/0.002611, allocations: 72.11 kB / 345.2 MB, free: 19.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1279, allocations: 50.12 MB / 395.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.009803/0.1378, allocations: 7.163 MB / 402.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007824/0.1457, allocations: 3.522 MB / 406 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.147, allocations: 15.94 kB / 406 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.149, allocations: 417.7 kB / 406.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.155, allocations: 1.56 MB / 408 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1565, allocations: 0.5759 MB / 408.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.1598, allocations: 1.813 MB / 410.4 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.1602, allocations: 126.5 kB / 410.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.1616, allocations: 0.5953 MB / 411.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.1629, allocations: 0.6342 MB / 411.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.1633, allocations: 64 kB / 411.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.1648, allocations: 427.7 kB / 412.2 MB, free: 168 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.1651, allocations: 159.2 kB / 412.3 MB, free: 4 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1661, allocations: 0.5366 MB / 412.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.1684, allocations: 1.414 MB / 414.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1684, allocations: 0 / 414.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1684, allocations: 0 / 414.3 MB, free: 14.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1684, allocations: 3.938 kB / 414.3 MB, free: 14.04 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.005524/0.1739, allocations: 1.707 MB / 416 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.174, allocations: 8.031 kB / 416 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001976/0.1742, allocations: 118.7 kB / 416.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007581/0.175, allocations: 151.7 kB / 416.3 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.1764, allocations: 0.6648 MB / 416.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.1765, allocations: 54.12 kB / 417 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1766, allocations: 68 kB / 417.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.178, allocations: 0.7515 MB / 417.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.178, allocations: 0 / 417.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.1781, allocations: 32 kB / 417.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.1781, allocations: 20 kB / 417.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.1793, allocations: 0.6713 MB / 418.5 MB, free: 9.66 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.006972/0.1863, allocations: 5.246 MB / 423.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.1881, allocations: 0.9474 MB / 424.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.1886, allocations: 295.1 kB / 425 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.306e-05/0.1886, allocations: 8.656 kB / 425 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1887, allocations: 43.22 kB / 425.1 MB, free: 2.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 4.228e-06/0.1887, allocations: 3.938 kB / 425.1 MB, free: 2.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.004544/0.1933, allocations: 1.565 MB / 426.6 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.1933, allocations: 60.06 kB / 426.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000831/0.1942, allocations: 0.5537 MB / 427.2 MB, free: 300 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1942, allocations: 33.7 kB / 427.3 MB, free: 260 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1974/0.3917, allocations: 349.5 kB / 427.6 MB, free: 37.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004873/0.3922, allocations: 276.9 kB / 427.9 MB, free: 37.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.3925, allocations: 134.7 kB / 428 MB, free: 37.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3927, allocations: 379 kB / 428.4 MB, free: 37.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.3931, allocations: 205.7 kB / 428.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.3935, allocations: 332.6 kB / 428.9 MB, free: 37.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.3944, allocations: 0.5818 MB / 429.5 MB, free: 37.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3944, allocations: 1.375 kB / 429.5 MB, free: 37.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002373/0.3968, allocations: 0.9494 MB / 430.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3969, allocations: 6.031 kB / 430.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3969, allocations: 4.078 kB / 430.5 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.398, allocations: 302.2 kB / 430.8 MB, free: 36.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.3988, allocations: 166.6 kB / 430.9 MB, free: 36.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005559/0.4043, allocations: 3.33 MB / 434.3 MB, free: 34.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4054, allocations: 54.16 kB / 434.3 MB, free: 34.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.4055, allocations: 27.28 kB / 434.3 MB, free: 34.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004569/0.406, allocations: 221.5 kB / 434.5 MB, free: 34.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.4062, allocations: 73.92 kB / 434.6 MB, free: 34.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.4082, allocations: 0.8806 MB / 435.5 MB, free: 33.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4082, allocations: 10.69 kB / 435.5 MB, free: 33.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.4082, allocations: 1.406 kB / 435.5 MB, free: 33.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4083, allocations: 3.609 kB / 435.5 MB, free: 33.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.4116, allocations: 1.922 MB / 437.4 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4116, allocations: 4.797 kB / 437.4 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.4122, allocations: 124.9 kB / 437.6 MB, free: 32.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.4133, allocations: 290.6 kB / 437.8 MB, free: 32.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.4134, allocations: 15.25 kB / 437.9 MB, free: 32.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/0.4178, allocations: 3.254 MB / 441.1 MB, free: 30.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4178, allocations: 1.359 kB / 441.1 MB, free: 30.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.4199, allocations: 0.9422 MB / 442.1 MB, free: 29.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.4204, allocations: 227.2 kB / 442.3 MB, free: 29.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/0.4205, allocations: 10.72 kB / 442.3 MB, free: 29.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.421, allocations: 28.84 kB / 442.3 MB, free: 29.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.4212, allocations: 49.56 kB / 442.4 MB, free: 29.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.4213, allocations: 21.03 kB / 442.4 MB, free: 29.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006596/0.4219, allocations: 388 kB / 442.8 MB, free: 29.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4219, allocations: 1.25 kB / 442.8 MB, free: 29.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001747/0.4237, allocations: 327.7 kB / 443.1 MB, free: 29.48 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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002568/0.4263, allocations: 1.556 MB / 444.6 MB, free: 28.45 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 initialization part: time 0.002122/0.4284, allocations: 0.8849 MB / 445.5 MB, free: 28.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4284, allocations: 4.188 kB / 445.5 MB, free: 28.04 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 simulation system equations: time 0.0009982/0.4294, allocations: 0.5805 MB / 446.1 MB, free: 27.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.4302, allocations: 109.5 kB / 446.2 MB, free: 27.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.008763/0.439, allocations: 6.211 MB / 452.4 MB, free: 24.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4394, allocations: 0.9458 MB / 453.4 MB, free: 23.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004296/0.4399, allocations: 89.09 kB / 453.5 MB, free: 23.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.4402, allocations: 262.2 kB / 453.7 MB, free: 23.18 MB / 318.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4402, allocations: 0 / 453.7 MB, free: 23.18 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.4823, allocations: 19.43 MB / 473.2 MB, free: 4.691 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.5, allocations: 11.84 kB / 473.2 MB, free: 4.68 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusTransmissionLineOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches